in reply to Re^3: Regex, extracting stuff from the middle of a line
in thread Using a regex function from a hash
You should escape the special '\' symbol:
For the date/time:m|\\(\w+)| and print $1, "\n";
See perlrem|:\s+(\S+)| and print $1, "\n";
|
---|
In Section
Seekers of Perl Wisdom