Constant definitions for the std regex library.
More...
Go to the source code of this file.
Namespaces
5.1 Regular Expression Syntax Options
- enum std::regex_constants::__syntax_option {
_S_icase,
_S_nosubs,
_S_optimize,
_S_collate,
_S_ECMAScript,
_S_basic,
_S_extended,
_S_awk,
_S_grep,
_S_egrep,
_S_syntax_last
}
- typedef unsigned int std::regex_constants::syntax_option_type
- static const syntax_option_type std::regex_constants::icase
- static const syntax_option_type std::regex_constants::nosubs
- static const syntax_option_type std::regex_constants::optimize
- static const syntax_option_type std::regex_constants::collate
- static const syntax_option_type std::regex_constants::ECMAScript
- static const syntax_option_type std::regex_constants::basic
- static const syntax_option_type std::regex_constants::extended
- static const syntax_option_type std::regex_constants::awk
- static const syntax_option_type std::regex_constants::grep
- static const syntax_option_type std::regex_constants::egrep
5.2 Matching Rules
Matching a regular expression against a sequence of characters [first, last) proceeds according to the rules of the grammar specified for the regular expression object, modified according to the effects listed below for any bitmask elements set.
- enum std::regex_constants::__match_flag {
_S_not_bol,
_S_not_eol,
_S_not_bow,
_S_not_eow,
_S_any,
_S_not_null,
_S_continuous,
_S_prev_avail,
_S_sed,
_S_no_copy,
_S_first_only,
_S_match_flag_last
}
- typedef std::bitset
< _S_match_flag_last > std::regex_constants::match_flag_type
- static const match_flag_type std::regex_constants::match_default
- static const match_flag_type std::regex_constants::match_not_bol
- static const match_flag_type std::regex_constants::match_not_eol
- static const match_flag_type std::regex_constants::match_not_bow
- static const match_flag_type std::regex_constants::match_not_eow
- static const match_flag_type std::regex_constants::match_any
- static const match_flag_type std::regex_constants::match_not_null
- static const match_flag_type std::regex_constants::match_continuous
- static const match_flag_type std::regex_constants::match_prev_avail
- static const match_flag_type std::regex_constants::format_default
- static const match_flag_type std::regex_constants::format_sed
- static const match_flag_type std::regex_constants::format_no_copy
- static const match_flag_type std::regex_constants::format_first_only
Detailed Description
Constant definitions for the std regex library.
This is an internal header file, included by other library headers. You should not attempt to use it directly.
Definition in file regex_constants.h.