in reply to Re: Can I Use Variables In A Regex?
in thread Can I Use Variables In A Regex?

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.