Board logo

标题: regex match all include newline [打印本页]

作者: admin    时间: 2019-6-15 11:33     标题: regex match all include newline

std::string yy = R"(ab43423141234 123412c\nabc\naaa)"; std::string x = std::regex_replace(yy, std::regex("(.|\\n)*"), "H");




欢迎光临 杰表技术论坛 (http://jatools.com/) Powered by Discuz! 6.1.0