$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Kyle Alons (kalons_at_[hidden])
Date: 2006-04-02 16:32:19
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