The 'e' is required to treat the replacement as Perl code and not a literal string.Except that perl treats it as a double-quoted string which interpolates, so the /e isn't required in this case.
Dave.
In reply to Re^2: Can I Use Variables In A Regex?
by dave_the_m
in thread Can I Use Variables In A Regex?
by Khatri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |