Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Perl Regex Repeating Patternsby JavaFan (Canon) |
on Jan 17, 2012 at 22:17 UTC ( [id://948431]=note: print w/replies, xml ) | Need Help?? |
Untested:
It shouldn't be hard to adapt if you want the offsets (as your original code does). It does capture overlapping matches, although with the given patterns, no overlap is possible.
In Section
Seekers of Perl Wisdom
|
|