in reply to Find Prefix if regex didn't match
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Find Prefix if regex didn't match
by demoralizer (Beadle) on Oct 31, 2012 at 14:33 UTC |