C++ 正则表达式库 cmatch



描述

这些是字符串字面量的 match_results。这是 match_results 类模板针对字符串字面量匹配的实例化,并且此类的成员是为 match_results 描述的那些成员,但使用 const char* 作为其 BidirectionalIterator 模板参数。

声明

以下是 std::cmatch 的声明。

C++98

typedef match_results<const char*> cmatch;
regex.htm
广告

© . All rights reserved.