Is there a simple way to know how many times a regex matches. Say for example: $string =~ /a/g; # match on all 'a' in $string Now how do I know how many times it actually matched? -Bob __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
- Re: counting regex matches Bob Mangold
- Re: counting regex matches Carl Rogers
- Re: counting regex matches Michael Fowler
- RE: counting regex matches Wagner-David
- Re: counting regex matches Sean O'Leary
- Re: counting regex matches Sean O'Leary