in reply to Re: Normal regexes stop working
in thread Normal regexes stop working

I made this case simple, but in the general case I'm actually doing this:
my $q_meta = quotemeta($q); my $tmp_test = ($test =~ /$q_meta/i) || 0;
So it should escape all those special characters.