in reply to Re: Unrecognized escape \Q passed through in regexin thread Unrecognized escape \Q passed through in regex
$str =~ s{\\Q(.*?)\\E){quotemeta $1}ge; [download]