std::regex_match() 函数将输入字符串与存储在 std::regex 对象中的正则表达式模式进行比较。匹配的结果输出到一个 std::cmatch 对象中(该对象可以通过 str() 转换std::string)。

Last modified: Thursday, 30 January 2025, 4:25 PM