Andrew Dunstan <andrew@dunslane.net> writes:
> Those replacement lines are very difficult to read. I think use of
> extended regexes and some multi-part replacements would help. I'll have
> a go at that tomorrow.
Yeah, after I wrote that code I remembered about \Q ... \E, which would
eliminate the need for most of the backslashes and probably make things
better that way. I didn't get around to improving it yet though, so
feel free to have a go.
regards, tom lane