Update: add missing (my $ind = -1; while (($ind = index($string, $substring, $ind+1) >= 0) { push @offsets, $ind }
In reply to Re: Pattern match location finding
by ysth
in thread Pattern match location finding
by feloniousMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |