|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^3: Perl Regex Repeating Patternsby Corion (Pope) |
| on Jan 18, 2012 at 08:01 UTC ( #948502=note: print w/ replies, xml ) | Need Help?? |
|
Putting a repeating quantifier after a capture simply does not do what you intend it to do, unless you only want to capture the last matched item in the repetition. And even then, it would be clearer in my opinion to explicitly state your assumption, by explicitly discarding the first repetitions:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||