should work, leaving you able to access the number of matches by using scalar @matches or whatevermy $searchstring = 'humptydumpty'; my @matches = $searchstring =~ /umpty/g;
In reply to Re: number of matches
by wufnik
in thread number of matches
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |