Scroll to navigation

std::regex_constants(3cxx) std::regex_constants(3cxx)

NAME

std::regex_constants - ISO C++-0x entities sub namespace for regex.

SYNOPSIS

5.1 Regular Expression Syntax Options


enum __syntax_option { _S_icase, _S_nosubs, _S_optimize, _S_collate, _S_ECMAScript, _S_basic, _S_extended, _S_awk, _S_grep, _S_egrep, _S_polynomial, _S_syntax_last }
This is a bitmask type indicating how to interpret the regex. enum syntax_option_type : unsigned int
This is a bitmask type indicating how to interpret the regex. constexpr _GLIBCXX17_INLINE syntax_option_type icase
constexpr _GLIBCXX17_INLINE syntax_option_type nosubs
constexpr _GLIBCXX17_INLINE syntax_option_type optimize
constexpr _GLIBCXX17_INLINE syntax_option_type collate
constexpr _GLIBCXX17_INLINE syntax_option_type ECMAScript
constexpr _GLIBCXX17_INLINE syntax_option_type basic
constexpr _GLIBCXX17_INLINE syntax_option_type extended
constexpr _GLIBCXX17_INLINE syntax_option_type awk
constexpr _GLIBCXX17_INLINE syntax_option_type grep
constexpr _GLIBCXX17_INLINE syntax_option_type egrep
constexpr _GLIBCXX17_INLINE syntax_option_type __polynomial
constexpr syntax_option_type operator& (syntax_option_type __a, syntax_option_type __b)
This is a bitmask type indicating how to interpret the regex. constexpr syntax_option_type operator| (syntax_option_type __a, syntax_option_type __b)
This is a bitmask type indicating how to interpret the regex. constexpr syntax_option_type operator^ (syntax_option_type __a, syntax_option_type __b)
This is a bitmask type indicating how to interpret the regex. constexpr syntax_option_type operator~ (syntax_option_type __a)
This is a bitmask type indicating how to interpret the regex. syntax_option_type & operator&= (syntax_option_type &__a, syntax_option_type __b)
This is a bitmask type indicating how to interpret the regex. syntax_option_type & operator|= (syntax_option_type &__a, syntax_option_type __b)
This is a bitmask type indicating how to interpret the regex. syntax_option_type & operator^= (syntax_option_type &__a, syntax_option_type __b)
This is a bitmask type indicating how to interpret the regex.

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 __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 }
This is a bitmask type indicating regex matching rules. enum match_flag_type : unsigned int
This is a bitmask type indicating regex matching rules. constexpr _GLIBCXX17_INLINE match_flag_type match_default
constexpr _GLIBCXX17_INLINE match_flag_type match_not_bol
constexpr _GLIBCXX17_INLINE match_flag_type match_not_eol
constexpr _GLIBCXX17_INLINE match_flag_type match_not_bow
constexpr _GLIBCXX17_INLINE match_flag_type match_not_eow
constexpr _GLIBCXX17_INLINE match_flag_type match_any
constexpr _GLIBCXX17_INLINE match_flag_type match_not_null
constexpr _GLIBCXX17_INLINE match_flag_type match_continuous
constexpr _GLIBCXX17_INLINE match_flag_type match_prev_avail
constexpr _GLIBCXX17_INLINE match_flag_type format_default
constexpr _GLIBCXX17_INLINE match_flag_type format_sed
constexpr _GLIBCXX17_INLINE match_flag_type format_no_copy
constexpr _GLIBCXX17_INLINE match_flag_type format_first_only
constexpr match_flag_type operator& (match_flag_type __a, match_flag_type __b)
This is a bitmask type indicating regex matching rules. constexpr match_flag_type operator| (match_flag_type __a, match_flag_type __b)
This is a bitmask type indicating regex matching rules. constexpr match_flag_type operator^ (match_flag_type __a, match_flag_type __b)
This is a bitmask type indicating regex matching rules. constexpr match_flag_type operator~ (match_flag_type __a)
This is a bitmask type indicating regex matching rules. match_flag_type & operator&= (match_flag_type &__a, match_flag_type __b)
This is a bitmask type indicating regex matching rules. match_flag_type & operator|= (match_flag_type &__a, match_flag_type __b)
This is a bitmask type indicating regex matching rules. match_flag_type & operator^= (match_flag_type &__a, match_flag_type __b)
This is a bitmask type indicating regex matching rules.

5.3 Error Types


enum error_type { _S_error_collate, _S_error_ctype, _S_error_escape, _S_error_backref, _S_error_brack, _S_error_paren, _S_error_brace, _S_error_badbrace, _S_error_range, _S_error_space, _S_error_badrepeat, _S_error_complexity, _S_error_stack }
constexpr error_type error_collate (_S_error_collate)
constexpr error_type error_ctype (_S_error_ctype)
constexpr error_type error_escape (_S_error_escape)
constexpr error_type error_backref (_S_error_backref)
constexpr error_type error_brack (_S_error_brack)
constexpr error_type error_paren (_S_error_paren)
constexpr error_type error_brace (_S_error_brace)
constexpr error_type error_badbrace (_S_error_badbrace)
constexpr error_type error_range (_S_error_range)
constexpr error_type error_space (_S_error_space)
constexpr error_type error_badrepeat (_S_error_badrepeat)
constexpr error_type error_complexity (_S_error_complexity)
constexpr error_type error_stack (_S_error_stack)

Detailed Description

ISO C++-0x entities sub namespace for regex.

Author

Generated automatically by Doxygen for libstdc++ from the source code.
Mon Jul 13 2020 libstdc++