Boost logo

Boost Users :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-05-22 18:02:10


"John Maddock" <john_at_[hidden]> skrev i meddelandet
news:001501c67db8$2600f810$24011c52_at_fuji...
> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net