typedef std::bitset<_S_match_flag_last> std::regex_constants::match_flag_type |
This is a bitmask type indicating regex 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.
The match_flag_type
is implementation defined but it is valid to perform bitwise operations on these values and expect the right thing to happen.
Definition at line 167 of file tr1_impl/regex.
typedef unsigned int std::regex_constants::syntax_option_type |
This is a bitmask type indicating how to interpret the regex.
The syntax_option_type
is implementation defined but it is valid to perform bitwise operations on these values and expect the right thing to happen.
A valid value of type syntax_option_type shall have exactly one of the elements ECMAScript
, basic
, extended
, awk
, grep
, egrep
set.
Definition at line 75 of file tr1_impl/regex.
static const error_type std::regex_constants::error_backref | ( | _S_error_backref | ) | [static] |
The expression contained an invalid back reference.
static const error_type std::regex_constants::error_badbrace | ( | _S_error_badbrace | ) | [static] |
The expression contained an invalid range in a {} expression.
static const error_type std::regex_constants::error_badrepeat | ( | _S_error_badrepeat | ) | [static] |
One of *?+{ was not preceded by a valid regular expression.
static const error_type std::regex_constants::error_brace | ( | _S_error_brace | ) | [static] |
The expression contained mismatched { and }.
static const error_type std::regex_constants::error_brack | ( | _S_error_brack | ) | [static] |
The expression contained mismatched [ and ].
static const error_type std::regex_constants::error_collate | ( | _S_error_collate | ) | [static] |
The expression contained an invalid collating element name.
static const error_type std::regex_constants::error_complexity | ( | _S_error_complexity | ) | [static] |
exceeded a pre-set level.
static const error_type std::regex_constants::error_ctype | ( | _S_error_ctype | ) | [static] |
The expression contained an invalid character class name.
static const error_type std::regex_constants::error_escape | ( | _S_error_escape | ) | [static] |
escape.
static const error_type std::regex_constants::error_paren | ( | _S_error_paren | ) | [static] |
The expression contained mismatched ( and ).
static const error_type std::regex_constants::error_range | ( | _S_error_range | ) | [static] |
such as [b-a] in most encodings.
static const error_type std::regex_constants::error_space | ( | _S_error_space | ) | [static] |
finite state machine.
static const error_type std::regex_constants::error_stack | ( | _S_error_stack | ) | [static] |
regular expression could match the specified character sequence.
const syntax_option_type std::regex_constants::awk [static] |
const syntax_option_type std::regex_constants::basic [static] |
Portable Operating System Interface (POSIX), IEEE Standard 1003.1-2001].
Definition at line 109 of file tr1_impl/regex.
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::egrep [static] |
extended, except that newlines are treated as whitespace.
Definition at line 135 of file tr1_impl/regex.
const syntax_option_type std::regex_constants::extended [static] |
const match_flag_type std::regex_constants::format_first_only [static] |
occurrence of the regular expression shall be replaced.
Definition at line 241 of file tr1_impl/regex.
const match_flag_type std::regex_constants::format_no_copy [static] |
const match_flag_type std::regex_constants::format_sed [static] |
Operating System Interface (POSIX), IEEE Standard 1003.1-2001].
Definition at line 232 of file tr1_impl/regex.
const syntax_option_type std::regex_constants::grep [static] |
const syntax_option_type std::regex_constants::icase [static] |
const match_flag_type std::regex_constants::match_any [static] |
const match_flag_type std::regex_constants::match_continuous [static] |
The expression only matches a sub-sequence that begins at first .
Definition at line 197 of file tr1_impl/regex.
const match_flag_type std::regex_constants::match_not_bol [static] |
const match_flag_type std::regex_constants::match_not_bow [static] |
const match_flag_type std::regex_constants::match_not_eol [static] |
const match_flag_type std::regex_constants::match_not_eow [static] |
const match_flag_type std::regex_constants::match_not_null [static] |
const match_flag_type std::regex_constants::match_prev_avail [static] |
const syntax_option_type std::regex_constants::nosubs [static] |
const syntax_option_type std::regex_constants::optimize [static] |