my $content = get($start); my @matches; while ($content) { push(@matches, $1) if ($content =~ m/(page.php?id=\ +d+)/)} print @matches;
In reply to Re: newbie to regex: all matches
by Anonymous Monk
in thread newbie to regex: all matches
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |