|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: counting overlapping patternsby Limbic~Region (Chancellor) |
| on Feb 18, 2005 at 15:30 UTC ( [id://432504]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||