in reply to Re^2: efficient char escape sequence substitution
in thread efficient char escape sequence substitution

Documentation.

g means global replace. e means eval the substitution space before substituting it. Repeating the e means eval it again. So it starts out looking like the string qr("\\t"); after an eval, it looks like "\t", and after a 2nd eval, it's just a tab. (Actually, it may have captured more than just the tab, but anything after the tab is left intact.)


Caution: Contents may have been coded under pressure.