Also, are you trying to perform a substitution on $theMatch or $line? You're actually performing a substitution on $_ (which is probably not what you want).$theMatch =~ /\Q$line\E/
-- Mike
--
just,my${.02}
In reply to Re: regexp =~
by thelenm
in thread treating * as a normal character in a regex
by chuleto1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |