
perl0user
Novice
Jan 15, 2009, 12:26 PM
Post #1 of 2
(5660 views)
|
number of regex match
|
Can't Post
|
|
hi, i'd like to know how to get the number of regexp matches a pattern returns ex: if I have $_ = "fooFOObarBAR";$_ =~ /[a-z]/ it would return 6 thx
cvv3@yahoo.com
|