|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2006-05-22 11:55:26
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.
John.
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