in reply to Re: Getting the number of times a regexp matches
in thread Getting the number of times a regexp matches
@_=($str =~ m/$pattern/g) and $count=1+$#_;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Getting the number of times a regexp matches
by mirod (Canon) on Dec 07, 2000 at 15:47 UTC |