in reply to
Escaping parentheses in regexps
if ($concat !~ /\Q$string\E/) { $concat .= " and $string"; } # do not interpret $string as regex ... man perlre
--
carl0s
Comment on
Re: Escaping parentheses in regexps
In Section
Seekers of Perl Wisdom