in reply to newbie to regex: all matches
my $content = get($start); my @matches; while ($content) { push(@matches, $1) if ($content =~ m/(page.php?id=\ +d+)/)} print @matches;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: newbie to regex: all matches
by sulfericacid (Deacon) on Mar 10, 2006 at 01:00 UTC | |
|
Re^2: newbie to regex: all matches
by duckyd (Hermit) on Mar 10, 2006 at 05:56 UTC |