in reply to Re^2: How can I access the number of repititions in a regex?in thread How can I access the number of repititions in a regex?
See Perl Idioms Explained - my $count = () = /.../g