The \Q and \E start and stop metacharacter escaping, respectively.... if($theMatch =~ /\Q$line\E/ ) ...
--Dave
In reply to Re: regexp =~
by redsquirrel
in thread treating * as a normal character in a regex
by chuleto1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |