$text1 = quotemeta( $text1 ); $text2 =~ s/($text1)/FOO$1BAR/;
--tidiness is the memory loss of environmental mnemonics
In reply to Re: Another (maybe stupid) regex question ...
by EvdB
in thread Another (maybe stupid) regex question ...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |