in reply to Regex help
Update: Those .*? in your match are really unnecessary since you're using the /g modifier. So, I removed them to speed things up.my @extracted = (); open(FILE, $file) or &error; while (<FILE>){ push @extracted, (/(foo\d+)/g); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regex help
by japhy (Canon) on Jul 08, 2002 at 19:26 UTC |