Article View: news.software.readers
Article #8391Re: six trn answers
From: Damien P. Neil
Date: Thu, 07 Apr 1994 23:06
Date: Thu, 07 Apr 1994 23:06
12 lines
1357 bytes
1357 bytes
In article <Cnww4v.6L0@borland.com>, Wayne Davison <davison@borland.com> wrote:
>
>Because this is a regex match of '.*0.*' against the string %Z, and it
>is true if %Z is 0, 10, 20, 5083, etc. What you want to test is that
>"%Z=^0", since %Z will only begin with a 0 if it == 0. Thus the macros
>should be changed to be:
Aha! Thank you for the tip -- I had not realized that %Z evaluates to
a string, rather than a number. Perhaps this could be made a bit clearer
in the man page. (Or perhaps it is clear, and I overlooked it. :-)
- Damien
Technical Details
Message-ID:
<2o23mh$9gs@b63519.student.cwru.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!siemens!news.ecn.bgu.edu!usenet.ins.cwru.edu!not-for-mailReferences:
<2mm3ta$78k@engnews2.Eng.Sun.COM> <1994Apr6.164131.1547@ousrvr.oulu.fi> <2nuqe1$53b@b63519.student.cwru.edu> <Cnww4v.6L0@borland.com>Show Full Headers
Complete Article Headers
Message-ID: <2o23mh$9gs@b63519.student.cwru.edu> Subject: Re: six trn answers Date: Thu, 07 Apr 1994 23:06:57 +0000 From: damien@b63519.student.cwru.edu (Damien P. Neil) References: <2mm3ta$78k@engnews2.Eng.Sun.COM> <1994Apr6.164131.1547@ousrvr.oulu.fi> <2nuqe1$53b@b63519.student.cwru.edu> <Cnww4v.6L0@borland.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!siemens!news.ecn.bgu.edu!usenet.ins.cwru.edu!not-for-mail Newsgroups: news.software.readers Organization: Case Western Reserve University, Cleveland, OH Lines: 12 NNTP-Posting-Host: b63519.student.cwru.edu