Perl: the Markov chain saw | |
PerlMonks |
Re^2: Why is this regex greedy?by pbeckingham (Parson) |
on Jul 02, 2004 at 20:34 UTC ( [id://371503]=note: print w/replies, xml ) | Need Help?? |
So it is not treating that .+? the way I expected? Even though there are more-minimal matches? I guess leftmost-longest trumps non-greedy.
In Section
Seekers of Perl Wisdom
|
|