Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2004-11-10 08:40:07


> I am wrapping some classes in our existing application, which have the
> interface that a regular expression will be replaced exactly with the
> given
> string, so I have no influence to the input and I don't know what things
> are in
> this string, what was given to me. So my hope was, that I can force this
> behaviour with some flags, but what I see from your answer it will not
> exist.
> So can you give me a hint where the best location is, where I can
> implement "format_literal" for my personal boost library? I need this
> functionality!

Why not use regex_iterator to enumerate the matches, and replace them with
your string?

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