string str = "hello world!\r\naa=`xxx_1`\r\nhello world!";
sregex rx = sregex::compile(".+=`(.+)_1`");
smatch what;
if( regex_match( str, what, rx ) )
{
std::cout << what[1] << '\n';
}
this can't work, i use boost.xpressive not boost.regex, how to match multi-line text?