in reply to Need to speed up many regex substitutions and somehow make them a here-doc list
Have a look at the discussion following BrowserUK's advice to me at Re: Combining regexes. The gist is that for single-character substitutions, tr is faster than a regex.
Regards,
John Davies
|
---|