On Sun, 13 Aug 2006 14:53:06 -0600, Daniel Gackle gackle@shaw.ca wrote:
I have a regex with more than one register and wish to replace each occurrence of one of those registers using a replacement function. I've written code to do this using do-scans, but it seems like there should be a simpler way. Is there?
Not much simpler, I think. I'd use REGEX-REPLACE with a replacement function in your case. Note that (if you don't use the "simple calls" option) your function will be called with all the information you'll need. Have you tried that?