Boost logo

Boost Users :

From: Leon Mergen (leon_at_[hidden])
Date: 2004-12-03 09:56:57


On Fri, Dec 03, 2004 at 02:25:56PM +0000, Stuart Dootson wrote:
> > I'm trying to use boost regex'es replace and add a trailing 0 after the \1 part. However, it seems to want to replace this with
> > \10, which is not what I want.
> > Anyone has any idea how to do this in a proper way ?
>
> If you use the 'format_all' flag, you can use something like
> ($1)0
> as a format string.

Ahhh ,thanks, that worked like a charm! :-)

Regards,

Leon Mergen


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