id summary reporter owner description type status milestone component version severity resolution keywords cc 12870 bugs?: xpressive: xp::skip(xp::_s) does not work shinichiro.hamada@… Eric Niebler "If you execute the following code, ""[ 4]"" will be output, but right output is supposed to be ""[4]"". === Source Code === {{{ #include #include using namespace std; namespace xp = boost::xpressive; int main() { xp::sregex rule2 = xp::skip(xp::_s)('(' >> (xp::s1= *xp::_d) >> ')'); xp::sregex rule1 = xp::skip(xp::_s)(rule2); xp::smatch match1; if (!xp::regex_match(string(""( 4 )""), match1, rule1)) { cout << ""syntax error"" << endl; } else { auto&& match2 = *match1.nested_results().begin(); string text = match2[1]; cout << ""["" << text << ""]"" << endl; } return 0; } }}} === Compilation Environment === * [OS] centos 6.8 * [Compiler] g++ v4.9.3 * [Command Line] g++ -std=c++11 a.cpp * [Libs] boost-1.63.0 Thanks for Boost.Xpressive! " Bugs new To Be Determined xpressive Boost 1.63.0 Problem