std::regex_constants::match_flag_type

Header: <regex>

  1. match_flag_type is a BitmaskType that specifies additional regular expression matching options.

# Declarations

using match_flag_type = /* implementation-defined */;

(since C++11)

constexpr match_flag_type match_default = {};
constexpr match_flag_type match_not_bol = /* unspecified */;
constexpr match_flag_type match_not_eol = /* unspecified */;
constexpr match_flag_type match_not_bow = /* unspecified */;
constexpr match_flag_type match_not_eow = /* unspecified */;
constexpr match_flag_type match_any = /* unspecified */;
constexpr match_flag_type match_not_null = /* unspecified */;
constexpr match_flag_type match_continuous = /* unspecified */;
constexpr match_flag_type match_prev_avail = /* unspecified */;
constexpr match_flag_type format_default = {};
constexpr match_flag_type format_sed = /* unspecified */;
constexpr match_flag_type format_no_copy = /* unspecified */;
constexpr match_flag_type format_first_only = /* unspecified */;

(since C++11) (inline since C++17)

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 2053C++111. the constants were declared static2. match_default and format_default were initialized from 01. removed the static specifier2. initialized from {}

# See also