
22 May
2006
22 May
'06
10:02 p.m.
"John Maddock"
Johan Nilsson wrote:
Any easy way to do something similar?
There's no wrapped-up solution, but you can use regex_iterator to iterate through the matches and replace each occurance: take a look at the code to regex_replace in boost/regex/v4/regex_replace.hpp, there's not that much to it, and you should be able to cut and paste what you need.
Thanks for the pointer - I'll give it a try. // Johan