in reply to RegExp help
if (my ($f, $l) = $line =~ /(.+)\s*\(\)\xA1\s*(.+\.txt)/) { $f =~ s/\s+$//; # notice \s+ and not \s*, too print OUT qq{<a href="$l">$f</a><br>\n}; }
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|