|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Count multiple pattern matchesby pijll (Beadle) |
| on Dec 07, 2004 at 11:39 UTC ( [id://412936]=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.
Have you tried to insert a study $string; outside the loop, before you do the first regex match? This should speed up the matches, especially if $string is very long.
for more information.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||