Just another Perl shrine | |
PerlMonks |
Re: Find Prefix if regex didn't matchby Anonymous Monk |
on Oct 31, 2012 at 13:27 UTC ( [id://1001660]=note: print w/replies, xml ) | Need Help?? |
Maybe you're really after m/\G.../gc ? start the next match on the same string where the last match left off? see Re^2: Help with regular expression, perlfaq6#What good is \G in a regular expression?
In Section
Seekers of Perl Wisdom
|
|