in reply to Re^3: reg. expr. multiple substitutions
in thread reg. expr. multiple substitutions
My argument is not so much about performance, as it is about avoiding escaping problems and allowing ism modifiers. Since hash keys get stringified, keying off regexes already compromises any benefit from compiling. I would also expect readability would be improved if extensive escaping is necessary.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.