in reply to /ee regex modifier

If /e interpolated variables in the replacement, then a substitution like the following would not work: s/(\d+)/$x = $1/e; /e treats the replacement string like eval BLOCK. It's compiled at script compile-time, and variables are not interpolated.