more useful options | |
PerlMonks |
Re: Question on REGEXby moen (Hermit) |
on May 14, 2001 at 01:59 UTC ( [id://80111]=note: print w/replies, xml ) | Need Help?? |
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-
In Section
Seekers of Perl Wisdom
|
|