in reply to Regex help
open FILE, "< $file" or die "can't read $file: $!"; while (<FILE>) { push @extracted, /foo\d+/g; # just like /(foo\d+)/g }
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|