.TH "std::basic_regex< _Ch_type, _Rx_traits >" 3cxx "Sun Feb 7 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::basic_regex< _Ch_type, _Rx_traits > .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef \fBregex_constants::syntax_option_type\fP \fBflag_type\fP" .br .ti -1c .RI "typedef traits_type::locale_type \fBlocale_type\fP" .br .ti -1c .RI "typedef traits_type::string_type \fBstring_type\fP" .br .ti -1c .RI "typedef _Rx_traits \fBtraits_type\fP" .br .ti -1c .RI "typedef _Ch_type \fBvalue_type\fP" .br .in -1c .SS "Constants" std [28\&.8\&.1](1) .in +1c .ti -1c .RI "static constexpr \fBflag_type\fP \fBicase\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBnosubs\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBoptimize\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBcollate\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBECMAScript\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBbasic\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBextended\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBawk\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBgrep\fP" .br .ti -1c .RI "static constexpr \fBflag_type\fP \fBegrep\fP" .br .ti -1c .RI "template class \fB__detail::_Executor\fP" .br .ti -1c .RI "template bool \fB__detail::__regex_algo_impl\fP (_Bp, _Bp, \fBmatch_results\fP< _Bp, _Ap > &, const \fBbasic_regex\fP< _Cp, _Rp > &, \fBregex_constants::match_flag_type\fP)" .br .ti -1c .RI "\fBbasic_regex\fP ()" .br .ti -1c .RI "\fBbasic_regex\fP (const _Ch_type *__p, \fBflag_type\fP __f=\fBECMAScript\fP)" .br .RI "Constructs a basic regular expression from the sequence [__p, __p + char_traits<_Ch_type>::length(__p)) interpreted according to the flags in \fC__f\fP\&. " .ti -1c .RI "\fBbasic_regex\fP (const _Ch_type *__p, std::size_t __len, \fBflag_type\fP __f=\fBECMAScript\fP)" .br .RI "Constructs a basic regular expression from the sequence [p, p + len) interpreted according to the flags in \fCf\fP\&. " .ti -1c .RI "\fBbasic_regex\fP (const \fBbasic_regex\fP &__rhs)=default" .br .RI "Copy-constructs a basic regular expression\&. " .ti -1c .RI "\fBbasic_regex\fP (\fBbasic_regex\fP &&__rhs) noexcept=default" .br .RI "Move-constructs a basic regular expression\&. " .ti -1c .RI "template \fBbasic_regex\fP (const \fBstd::basic_string\fP< _Ch_type, _Ch_traits, _Ch_alloc > &__s, \fBflag_type\fP __f=\fBECMAScript\fP)" .br .RI "Constructs a basic regular expression from the string \fCs\fP interpreted according to the flags in \fCf\fP\&. " .ti -1c .RI "template \fBbasic_regex\fP (_FwdIter __first, _FwdIter __last, \fBflag_type\fP __f=\fBECMAScript\fP)" .br .RI "Constructs a basic regular expression from the range [first, last) interpreted according to the flags in \fCf\fP\&. " .ti -1c .RI "\fBbasic_regex\fP (\fBinitializer_list\fP< _Ch_type > __l, \fBflag_type\fP __f=\fBECMAScript\fP)" .br .RI "Constructs a basic regular expression from an initializer list\&. " .ti -1c .RI "\fB~basic_regex\fP ()" .br .RI "Destroys a basic regular expression\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBoperator=\fP (const \fBbasic_regex\fP &__rhs)" .br .RI "Assigns one regular expression to another\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBoperator=\fP (\fBbasic_regex\fP &&__rhs) noexcept" .br .RI "Move-assigns one regular expression to another\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBoperator=\fP (const _Ch_type *__p)" .br .RI "Replaces a regular expression with a new one constructed from a C-style null-terminated string\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBoperator=\fP (\fBinitializer_list\fP< _Ch_type > __l)" .br .RI "Replaces a regular expression with a new one constructed from an initializer list\&. " .ti -1c .RI "template \fBbasic_regex\fP & \fBoperator=\fP (const \fBbasic_string\fP< _Ch_type, _Ch_traits, _Alloc > &__s)" .br .RI "Replaces a regular expression with a new one constructed from a string\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBassign\fP (const \fBbasic_regex\fP &__rhs)" .br .RI "the real assignment operator\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBassign\fP (\fBbasic_regex\fP &&__rhs) noexcept" .br .RI "The move-assignment operator\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBassign\fP (const _Ch_type *__p, \fBflag_type\fP __flags=\fBECMAScript\fP)" .br .RI "Assigns a new regular expression to a regex object from a C-style null-terminated string containing a regular expression pattern\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBassign\fP (const _Ch_type *__p, std::size_t __len, \fBflag_type\fP __flags)" .br .RI "Assigns a new regular expression to a regex object from a C-style string containing a regular expression pattern\&. " .ti -1c .RI "template \fBbasic_regex\fP & \fBassign\fP (const \fBbasic_string\fP< _Ch_type, _Ch_traits, _Alloc > &__s, \fBflag_type\fP __flags=\fBECMAScript\fP)" .br .RI "Assigns a new regular expression to a regex object from a string containing a regular expression pattern\&. " .ti -1c .RI "template \fBbasic_regex\fP & \fBassign\fP (_InputIterator __first, _InputIterator __last, \fBflag_type\fP __flags=\fBECMAScript\fP)" .br .RI "Assigns a new regular expression to a regex object\&. " .ti -1c .RI "\fBbasic_regex\fP & \fBassign\fP (\fBinitializer_list\fP< _Ch_type > __l, \fBflag_type\fP __flags=\fBECMAScript\fP)" .br .RI "Assigns a new regular expression to a regex object\&. " .ti -1c .RI "unsigned int \fBmark_count\fP () const" .br .RI "Gets the number of marked subexpressions within the regular expression\&. " .ti -1c .RI "\fBflag_type\fP \fBflags\fP () const" .br .RI "Gets the flags used to construct the regular expression or in the last call to assign()\&. " .ti -1c .RI "locale_type \fBimbue\fP (locale_type __loc)" .br .RI "Imbues the regular expression object with the given locale\&. " .ti -1c .RI "locale_type \fBgetloc\fP () const" .br .RI "Gets the locale currently imbued in the regular expression object\&. " .ti -1c .RI "void \fBswap\fP (\fBbasic_regex\fP &__rhs)" .br .RI "Swaps the contents of two regular expression objects\&. " .in -1c .SH "Detailed Description" .PP .SS "template> .br class std::basic_regex< _Ch_type, _Rx_traits >" Objects of specializations of this class represent regular expressions constructed from sequences of character type \fC_Ch_type\fP\&. .PP Storage for the regular expression is allocated and deallocated as necessary by the member functions of this class\&. .PP Definition at line 386 of file regex\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.