C++ 正则表达式库 cmatch


描述

这些是字符串文字的 match_results。这是 match_results 类模板的实例,用于匹配字符串文字,该类的成员是为 match_results 描述的成员,但使用 const char* 作为其 Bi DirectionIterator 模板参数。

宣言

以下是 std::cmatch 的声明。

C++98

typedef match_results<const char*> cmatch;
正则表达式.htm