Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2004-02-15 06:21:54


> I need to know if regex_replace actually makes any replacements, so will
> have to code something similar myself, rather than using it as is. The
> 1.31.0 documentation states that regex_replace (effectively) constructs a
> regex_iterator object to do the work, but in practice it uses the
deprecated
> regex_grep algorithm. Is there some advantage to doing it that way?

Yes, I haven't got around to rewriting it yet :-)

Seriously use the iterator, it should be a lot easier.

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