regex_constants::match_flag_type

正则表达式匹配选项标志的。

typedef T2 match_flag_type;
static const match_flag_type match_any, match_default, match_not_bol,
  match_not_bow, match_continuous, match_not_eol, match_not_eow,
  match_not_null, match_partial, match_prev_avail;

备注

类型是描述将使用的选项的位屏蔽类型,则匹配正则表达式和格式的文本序列标志,将使用替换文本时。 选项结合使用 |.

匹配选项是:

match_default

match_not_bol --请勿将以目标序列中的第一个位置。行的开头

match_not_eol --请勿将以目标序列中将这行的结尾结束位置。

match_not_bow --请勿将以目标序列中的第一个位置。单词的开头

match_not_eow --请勿将以目标序列中传递这就结束位置为 Word 的末尾

match_any --如果多个匹配。所有可能的匹配项是可接受的。

match_not_null --请勿将空 subsequence 为匹配

match_continuous --在序列开始处为目标外,不要搜索匹配项。

match_prev_avail -- --first 是有效的;迭代器忽略 match_not_bol 和 match_not_bow,则集合

格式标志是:

format_default --使用 ECMAScript 格式设置规则

format_sed --使用 SED 格式设置规则

format_no_copy --不要将不匹配的文本正则表达式

format_first_only --不要搜索匹配项。在第一个后

要求

标头: <regex>

命名空间: std

请参见

参考

<regex>

regex_constants 类

其他资源

regex 成员