.TH "std::regex_constants" 3cxx "Sun Feb 7 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::regex_constants \- ISO C++-0x entities sub namespace for regex\&. .SH SYNOPSIS .br .PP .SS "5\&.1 Regular Expression Syntax Options" .in +1c .ti -1c .RI "enum \fB__syntax_option\fP { \fB_S_icase\fP, \fB_S_nosubs\fP, \fB_S_optimize\fP, \fB_S_collate\fP, \fB_S_ECMAScript\fP, \fB_S_basic\fP, \fB_S_extended\fP, \fB_S_awk\fP, \fB_S_grep\fP, \fB_S_egrep\fP, \fB_S_polynomial\fP, \fB_S_syntax_last\fP }" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "enum \fBsyntax_option_type\fP : unsigned int " .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBicase\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBnosubs\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBoptimize\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBcollate\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBECMAScript\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBbasic\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBextended\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBawk\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBgrep\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fBegrep\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBsyntax_option_type\fP \fB__polynomial\fP" .br .ti -1c .RI "constexpr \fBsyntax_option_type\fP \fBoperator&\fP (\fBsyntax_option_type\fP __a, \fBsyntax_option_type\fP __b)" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "constexpr \fBsyntax_option_type\fP \fBoperator|\fP (\fBsyntax_option_type\fP __a, \fBsyntax_option_type\fP __b)" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "constexpr \fBsyntax_option_type\fP \fBoperator^\fP (\fBsyntax_option_type\fP __a, \fBsyntax_option_type\fP __b)" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "constexpr \fBsyntax_option_type\fP \fBoperator~\fP (\fBsyntax_option_type\fP __a)" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "\fBsyntax_option_type\fP & \fBoperator&=\fP (\fBsyntax_option_type\fP &__a, \fBsyntax_option_type\fP __b)" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "\fBsyntax_option_type\fP & \fBoperator|=\fP (\fBsyntax_option_type\fP &__a, \fBsyntax_option_type\fP __b)" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .ti -1c .RI "\fBsyntax_option_type\fP & \fBoperator^=\fP (\fBsyntax_option_type\fP &__a, \fBsyntax_option_type\fP __b)" .br .RI "This is a bitmask type indicating how to interpret the regex\&. " .in -1c .SS "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\&. .in +1c .ti -1c .RI "enum \fB__match_flag\fP { \fB_S_not_bol\fP, \fB_S_not_eol\fP, \fB_S_not_bow\fP, \fB_S_not_eow\fP, \fB_S_any\fP, \fB_S_not_null\fP, \fB_S_continuous\fP, \fB_S_prev_avail\fP, \fB_S_sed\fP, \fB_S_no_copy\fP, \fB_S_first_only\fP, \fB_S_match_flag_last\fP }" .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "enum \fBmatch_flag_type\fP : unsigned int " .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_default\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_not_bol\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_not_eol\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_not_bow\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_not_eow\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_any\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_not_null\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_continuous\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBmatch_prev_avail\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBformat_default\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBformat_sed\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBformat_no_copy\fP" .br .ti -1c .RI "constexpr _GLIBCXX17_INLINE \fBmatch_flag_type\fP \fBformat_first_only\fP" .br .ti -1c .RI "constexpr \fBmatch_flag_type\fP \fBoperator&\fP (\fBmatch_flag_type\fP __a, \fBmatch_flag_type\fP __b)" .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "constexpr \fBmatch_flag_type\fP \fBoperator|\fP (\fBmatch_flag_type\fP __a, \fBmatch_flag_type\fP __b)" .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "constexpr \fBmatch_flag_type\fP \fBoperator^\fP (\fBmatch_flag_type\fP __a, \fBmatch_flag_type\fP __b)" .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "constexpr \fBmatch_flag_type\fP \fBoperator~\fP (\fBmatch_flag_type\fP __a)" .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "\fBmatch_flag_type\fP & \fBoperator&=\fP (\fBmatch_flag_type\fP &__a, \fBmatch_flag_type\fP __b)" .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "\fBmatch_flag_type\fP & \fBoperator|=\fP (\fBmatch_flag_type\fP &__a, \fBmatch_flag_type\fP __b)" .br .RI "This is a bitmask type indicating regex matching rules\&. " .ti -1c .RI "\fBmatch_flag_type\fP & \fBoperator^=\fP (\fBmatch_flag_type\fP &__a, \fBmatch_flag_type\fP __b)" .br .RI "This is a bitmask type indicating regex matching rules\&. " .in -1c .SS "5\&.3 Error Types" .in +1c .ti -1c .RI "enum \fBerror_type\fP { \fB_S_error_collate\fP, \fB_S_error_ctype\fP, \fB_S_error_escape\fP, \fB_S_error_backref\fP, \fB_S_error_brack\fP, \fB_S_error_paren\fP, \fB_S_error_brace\fP, \fB_S_error_badbrace\fP, \fB_S_error_range\fP, \fB_S_error_space\fP, \fB_S_error_badrepeat\fP, \fB_S_error_complexity\fP, \fB_S_error_stack\fP }" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_collate\fP (_S_error_collate)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_ctype\fP (_S_error_ctype)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_escape\fP (_S_error_escape)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_backref\fP (_S_error_backref)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_brack\fP (_S_error_brack)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_paren\fP (_S_error_paren)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_brace\fP (_S_error_brace)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_badbrace\fP (_S_error_badbrace)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_range\fP (_S_error_range)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_space\fP (_S_error_space)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_badrepeat\fP (_S_error_badrepeat)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_complexity\fP (_S_error_complexity)" .br .ti -1c .RI "constexpr \fBerror_type\fP \fBerror_stack\fP (_S_error_stack)" .br .in -1c .SH "Detailed Description" .PP ISO C++-0x entities sub namespace for regex\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.