Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: counting overlapping patternsby Eimi Metamorphoumai (Deacon) |
on Feb 18, 2005 at 20:39 UTC ( [id://432509]=note: print w/replies, xml ) | Need Help?? |
The key is to match without consuming text. The following works.
It'll go through it repeatedly, starting at each position, but never consuming anything.
In Section
Seekers of Perl Wisdom
|
|