While not aesthetically beautiful, it makes perfect sense to do it that way. Now, of course, japhy will come up with a hideously complex regex using backwards-interpolation-badnesses, but that's japhy. :-)
------ We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
Comment on Re: Real global substitution, what's the best way?