in reply to Re: Regex can't find matchin thread Regex can't find match
Specifically, the ? quantifier regex metacharacter. See Quantifiers in perlre. Instead of quotemeta, you could also use $text=~s/\Q$find\E/$replace/g;