--- "Dave Powell, MMfab" <[log in to unmask]> wrote:
> A whole 10 seconds of testing seems to indicate that @s@ pmatches
> 'fread silly, while @s & s@ don't. In other words, it matches much
> the same way listf wildcards do. I have no particular position on
> whether that is 'broke' for what people would like to use it for
> (never used it myself).
guess i was a victim of rtfm :-) (all 6 lines of it :-)
i received a private email with the following:
:setvar x "fread silly"
:calc pmatch("s@",x)
FALSE
:calc pmatch("@s@",x)
TRUE
:calc pmatch("??????s@",x)
TRUE
:calc pmatch("?????s@",x)
FALSE
so....i'd say pmatch isn't broke, it's just not well explained.
thanks! - d
Donna Garverick, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores
Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson
>>>MY opinions, not Longs Drug Stores'<<<
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|