1309: if ( $value =~ m/^([A-Za-z0-9!#$%&'*+-.^_`|~]+) \s* : +\s* (.*)$/x ) {
Regular expressions, like double quoted strings, interpolate scalars and arrays so the $ and @ characters have to be escaped:
if ( $value =~ m/^([A-Za-z0-9!#\$%&'*+-.^_`|~]+) \s* : \s* +(.*)$/x ) {
In reply to Re: A podcatcher in Perl
by jwkrahn
in thread A podcatcher in Perl
by jimhenry
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |