Boost logo

Boost Users :

From: Watermann Bernd (TCO/A) (Bernd.Watermann_at_[hidden])
Date: 2004-06-11 06:38:37


Hi all,

regex_replace("XX",regex("X", boost::regex::literal), "Y")

returns "YXY" instead of "YY" whereas the (even more) trivial case

regex_replace("X",regex("X", boost::regex::literal), "Y")

returns "Y" as expected.
 
I am using boost_1_31_0 compiled with VC6(SP5). In addition, I have
applied the patches from the package
boost-1.31.0-regex-patch-20040503.

What is going wrong here?

Bernd


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