Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: counting overlapping patternsby Limbic~Region (Chancellor) |
on Feb 18, 2005 at 20:30 UTC ( [id://432504]=note: print w/replies, xml ) | Need Help?? |
Anonymous Monk,
Here is some code that covers your example, but it admittedly only works on fixed strings since it doesn't use regular expressions at all.
Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|