
2 Apr
2006
2 Apr
'06
8:32 p.m.
std::string in("hello"); std::string exprStr("(.*)"); std::string replStr("goodbye$1"); boost::regex expr(exprStr); std::string out(boost::regex_replace(in, expr, replStr)); printf("%s", out.c_str()); In Boost 1.31, this outputs "goodbyehello". In 1.32+, it outputs "goodbyehellogoodbye". Is it a bug, a by-design breaking change, or? Thanks. -- --------------------- Kyle Alons http://www.kinook.com