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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: reg. expr. multiple substitutions
by BrowserUk (Patriarch) on May 17, 2012 at 15:46 UTC | |
by dave_the_m (Monsignor) on May 17, 2012 at 16:01 UTC | |
by BrowserUk (Patriarch) on May 17, 2012 at 16:06 UTC |