Syntactic Confectionery Delight | |
PerlMonks |
Re: number of matchesby wufnik (Friar) |
on Sep 02, 2004 at 21:53 UTC ( [id://388134]=note: print w/replies, xml ) | Need Help?? |
i am presuming you do not want *overlapping* matches;
ie you want simple repeat detection: if this is the case something like: should work, leaving you able to access the number of matches by using scalar @matches or whatever
...wufnik -- in the world of the mules there are no rules --
In Section
Seekers of Perl Wisdom
|
|