in reply to
Re: Pattern matching
in thread
Pattern matching
I assumed the string as tom and any one of the other (dick,harry,john).
Prasad
Comment on
Re^2: Pattern matching
Download
Code
Replies are listed 'Best First'.
Re^3: Pattern matching
by
Joost
(Canon)
on Jan 05, 2005 at 12:51 UTC
To be more precise: your expression matches only strings containing "tom"
immediately followed by
"dick", "harry" or "john".
"What should it profit a man, if he should win a flame war, yet lose his cool?"
[reply]
In Section
Seekers of Perl Wisdom