Scroll to navigation

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

NAME

std::regex_constants -

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_syntax_last }
 
enum syntax_option_type : unsigned int { icase, nosubs, optimize, collate, ECMAScript, basic, extended, awk, grep, egrep }
 
constexpr syntax_option_type operator& (syntax_option_type __a, syntax_option_type __b)
 
constexpr syntax_option_type operator| (syntax_option_type __a, syntax_option_type __b)
 
constexpr syntax_option_type operator^ (syntax_option_type __a, syntax_option_type __b)
 
constexpr syntax_option_type operator~ (syntax_option_type __a)
 
syntax_option_type & operator&= (syntax_option_type &__a, syntax_option_type __b)
 
syntax_option_type & operator|= (syntax_option_type &__a, syntax_option_type __b)
 
syntax_option_type & operator^= (syntax_option_type &__a, syntax_option_type __b)
 

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 }
 
enum match_flag_type : unsigned int { match_default, match_not_bol, match_not_eol, match_not_bow, match_not_eow, match_any, match_not_null, match_continuous, match_prev_avail, format_default, format_sed, format_no_copy, format_first_only }
 
constexpr match_flag_type operator& (match_flag_type __a, match_flag_type __b)
 
constexpr match_flag_type operator| (match_flag_type __a, match_flag_type __b)
 
constexpr match_flag_type operator^ (match_flag_type __a, match_flag_type __b)
 
constexpr match_flag_type operator~ (match_flag_type __a)
 
match_flag_type & operator&= (match_flag_type &__a, match_flag_type __b)
 
match_flag_type & operator|= (match_flag_type &__a, match_flag_type __b)
 
match_flag_type & operator^= (match_flag_type &__a, match_flag_type __b)
 

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.
Wed Jan 31 2018 libstdc++