发新话题
打印

regex match all include newline

regex match all include newline

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

TOP

发新话题