Specifically, the ? quantifier regex metacharacter. See Quantifiers in perlre. Instead of quotemeta, you could also use
$text=~s/\Q$find\E/$replace/g;
In reply to Re^3: Regex can't find match
by AnomalousMonk
in thread Regex can't find match
by sherab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |