in reply to
Question on REGEX
a+?
matches the minimal amount of "a" as long as there are 1 or more "a"'s (non greedy) while
a*
matches "a" and maximum amount of anything as long as there are 0 or more (greedy)
-note: did a minor update to improve poor wording
-moen-
Comment on
Re: Question on REGEX
Select
or
Download
Code
Replies are listed 'Best First'.
Re: Re: Question on REGEX
by
boo_radley
(Parson)
on May 14, 2001 at 20:07 UTC
this is incorrect, or at least misleading.
[reply]
In Section
Seekers of Perl Wisdom