Cheers - L~Rmy $re = <STDIN>; chomp $re; $re = quotemeta $re; print "it worked" if $foo =~ /$re/;
In reply to Re: Using a regex pattern from STDIN
by Limbic~Region
in thread Using a regex pattern from STDIN
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |