Boost logo

Boost Users :

From: Olaf Bachmann (olaf.bachmann_at_[hidden])
Date: 2006-03-18 17:16:58


Hi,
there seems to be a bug in version 1.33.1 of boost::regex:

boost::regex_replace(std::string("foo"), boost::regex(".*"), "bar")
returns "barbar"

whereas 1.31.0 returns just "bar" (as I would expect). Any fix or hints
out there?

Thanks,
Olaf




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