libstdc++
|
Modules | |
Base and Implementation Classes | |
Typedefs | |
typedef match_results< const char * > | std::cmatch |
typedef regex_iterator< const char * > | std::cregex_iterator |
typedef regex_token_iterator< const char * > | std::cregex_token_iterator |
typedef sub_match< const char * > | std::csub_match |
typedef basic_regex< char > | std::regex |
typedef match_results< string::const_iterator > | std::smatch |
typedef regex_iterator< string::const_iterator > | std::sregex_iterator |
typedef regex_token_iterator< string::const_iterator > | std::sregex_token_iterator |
typedef sub_match< string::const_iterator > | std::ssub_match |
typedef match_results< const wchar_t * > | std::wcmatch |
typedef regex_iterator< const wchar_t * > | std::wcregex_iterator |
typedef regex_token_iterator< const wchar_t * > | std::wcregex_token_iterator |
typedef sub_match< const wchar_t * > | std::wcsub_match |
typedef basic_regex< wchar_t > | std::wregex |
typedef match_results< wstring::const_iterator > | std::wsmatch |
typedef regex_iterator< wstring::const_iterator > | std::wsregex_iterator |
typedef regex_token_iterator< wstring::const_iterator > | std::wsregex_token_iterator |
typedef sub_match< wstring::const_iterator > | std::wssub_match |
Functions | |
template<typename _ForwardIterator > | |
std::basic_regex (_ForwardIterator, _ForwardIterator, regex_constants::syntax_option_type={}) -> basic_regex< typename iterator_traits< _ForwardIterator >::value_type > | |
template<typename _Bi_iter , class _Alloc > | |
bool | std::operator!= (const match_results< _Bi_iter, _Alloc > &__m1, const match_results< _Bi_iter, _Alloc > &__m2) |
template<typename _Bi_iter , typename _Alloc > | |
bool | std::operator== (const match_results< _Bi_iter, _Alloc > &__m1, const match_results< _Bi_iter, _Alloc > &__m2) |
template<typename _Ch_type , typename _Rx_traits > | |
void | swap (basic_regex< _Ch_type, _Rx_traits > &__lhs, basic_regex< _Ch_type, _Rx_traits > &__rhs) noexcept |
template<typename _Bi_iter , typename _Alloc > | |
void | std::swap (match_results< _Bi_iter, _Alloc > &__lhs, match_results< _Bi_iter, _Alloc > &__rhs) noexcept |
Matching, Searching, and Replacing | |
template<typename _Bi_iter , typename _Alloc , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_match (_Bi_iter __s, _Bi_iter __e, match_results< _Bi_iter, _Alloc > &__m, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Bi_iter , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_match (_Bi_iter __first, _Bi_iter __last, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Ch_type , typename _Alloc , typename _Rx_traits > | |
bool | std::regex_match (const _Ch_type *__s, match_results< const _Ch_type *, _Alloc > &__m, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __f=regex_constants::match_default) |
template<typename _Ch_traits , typename _Ch_alloc , typename _Alloc , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_match (const basic_string< _Ch_type, _Ch_traits, _Ch_alloc > &__s, match_results< typename basic_string< _Ch_type, _Ch_traits, _Ch_alloc >::const_iterator, _Alloc > &__m, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Ch_traits , typename _Ch_alloc , typename _Alloc , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_match (const basic_string< _Ch_type, _Ch_traits, _Ch_alloc > &&, match_results< typename basic_string< _Ch_type, _Ch_traits, _Ch_alloc >::const_iterator, _Alloc > &, const basic_regex< _Ch_type, _Rx_traits > &, regex_constants::match_flag_type=regex_constants::match_default)=delete |
template<typename _Ch_type , class _Rx_traits > | |
bool | std::regex_match (const _Ch_type *__s, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __f=regex_constants::match_default) |
template<typename _Ch_traits , typename _Str_allocator , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_match (const basic_string< _Ch_type, _Ch_traits, _Str_allocator > &__s, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Bi_iter , typename _Alloc , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_search (_Bi_iter __s, _Bi_iter __e, match_results< _Bi_iter, _Alloc > &__m, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Bi_iter , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_search (_Bi_iter __first, _Bi_iter __last, const basic_regex< _Ch_type, _Rx_traits > &__re, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Ch_type , class _Alloc , class _Rx_traits > | |
bool | std::regex_search (const _Ch_type *__s, match_results< const _Ch_type *, _Alloc > &__m, const basic_regex< _Ch_type, _Rx_traits > &__e, regex_constants::match_flag_type __f=regex_constants::match_default) |
template<typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_search (const _Ch_type *__s, const basic_regex< _Ch_type, _Rx_traits > &__e, regex_constants::match_flag_type __f=regex_constants::match_default) |
template<typename _Ch_traits , typename _String_allocator , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_search (const basic_string< _Ch_type, _Ch_traits, _String_allocator > &__s, const basic_regex< _Ch_type, _Rx_traits > &__e, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Ch_traits , typename _Ch_alloc , typename _Alloc , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_search (const basic_string< _Ch_type, _Ch_traits, _Ch_alloc > &__s, match_results< typename basic_string< _Ch_type, _Ch_traits, _Ch_alloc >::const_iterator, _Alloc > &__m, const basic_regex< _Ch_type, _Rx_traits > &__e, regex_constants::match_flag_type __f=regex_constants::match_default) |
template<typename _Ch_traits , typename _Ch_alloc , typename _Alloc , typename _Ch_type , typename _Rx_traits > | |
bool | std::regex_search (const basic_string< _Ch_type, _Ch_traits, _Ch_alloc > &&, match_results< typename basic_string< _Ch_type, _Ch_traits, _Ch_alloc >::const_iterator, _Alloc > &, const basic_regex< _Ch_type, _Rx_traits > &, regex_constants::match_flag_type=regex_constants::match_default)=delete |
template<typename _Out_iter , typename _Bi_iter , typename _Rx_traits , typename _Ch_type > | |
_Out_iter | std::__regex_replace (_Out_iter __out, _Bi_iter __first, _Bi_iter __last, const basic_regex< _Ch_type, _Rx_traits > &__e, const _Ch_type *__fmt, size_t __len, regex_constants::match_flag_type __flags) |
template<typename _Out_iter , typename _Bi_iter , typename _Rx_traits , typename _Ch_type , typename _St , typename _Sa > | |
_Out_iter | std::regex_replace (_Out_iter __out, _Bi_iter __first, _Bi_iter __last, const basic_regex< _Ch_type, _Rx_traits > &__e, const basic_string< _Ch_type, _St, _Sa > &__fmt, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Out_iter , typename _Bi_iter , typename _Rx_traits , typename _Ch_type > | |
_Out_iter | std::regex_replace (_Out_iter __out, _Bi_iter __first, _Bi_iter __last, const basic_regex< _Ch_type, _Rx_traits > &__e, const _Ch_type *__fmt, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Rx_traits , typename _Ch_type , typename _St , typename _Sa , typename _Fst , typename _Fsa > | |
basic_string< _Ch_type, _St, _Sa > | std::regex_replace (const basic_string< _Ch_type, _St, _Sa > &__s, const basic_regex< _Ch_type, _Rx_traits > &__e, const basic_string< _Ch_type, _Fst, _Fsa > &__fmt, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Rx_traits , typename _Ch_type , typename _St , typename _Sa > | |
basic_string< _Ch_type, _St, _Sa > | std::regex_replace (const basic_string< _Ch_type, _St, _Sa > &__s, const basic_regex< _Ch_type, _Rx_traits > &__e, const _Ch_type *__fmt, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Rx_traits , typename _Ch_type , typename _St , typename _Sa > | |
basic_string< _Ch_type > | std::regex_replace (const _Ch_type *__s, const basic_regex< _Ch_type, _Rx_traits > &__e, const basic_string< _Ch_type, _St, _Sa > &__fmt, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _Rx_traits , typename _Ch_type > | |
basic_string< _Ch_type > | std::regex_replace (const _Ch_type *__s, const basic_regex< _Ch_type, _Rx_traits > &__e, const _Ch_type *__fmt, regex_constants::match_flag_type __flags=regex_constants::match_default) |
template<typename _BiIter > | |
bool | operator== (const sub_match< _BiIter > &__lhs, const sub_match< _BiIter > &__rhs) |
template<typename _BiIter > | |
bool | operator!= (const sub_match< _BiIter > &__lhs, const sub_match< _BiIter > &__rhs) |
template<typename _BiIter > | |
bool | operator< (const sub_match< _BiIter > &__lhs, const sub_match< _BiIter > &__rhs) |
template<typename _BiIter > | |
bool | operator<= (const sub_match< _BiIter > &__lhs, const sub_match< _BiIter > &__rhs) |
template<typename _BiIter > | |
bool | operator>= (const sub_match< _BiIter > &__lhs, const sub_match< _BiIter > &__rhs) |
template<typename _BiIter > | |
bool | operator> (const sub_match< _BiIter > &__lhs, const sub_match< _BiIter > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator== (const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator!= (const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator< (const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator> (const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator>= (const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator<= (const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator== (const sub_match< _Bi_iter > &__lhs, const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator!= (const sub_match< _Bi_iter > &__lhs, const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator< (const sub_match< _Bi_iter > &__lhs, const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator> (const sub_match< _Bi_iter > &__lhs, const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator>= (const sub_match< _Bi_iter > &__lhs, const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__rhs) |
template<typename _Bi_iter , typename _Ch_traits , typename _Ch_alloc > | |
bool | operator<= (const sub_match< _Bi_iter > &__lhs, const __sub_match_string< _Bi_iter, _Ch_traits, _Ch_alloc > &__rhs) |
template<typename _Bi_iter > | |
bool | operator== (typename iterator_traits< _Bi_iter >::value_type const *__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator!= (typename iterator_traits< _Bi_iter >::value_type const *__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator< (typename iterator_traits< _Bi_iter >::value_type const *__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator> (typename iterator_traits< _Bi_iter >::value_type const *__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator>= (typename iterator_traits< _Bi_iter >::value_type const *__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator<= (typename iterator_traits< _Bi_iter >::value_type const *__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator== (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const *__rhs) |
template<typename _Bi_iter > | |
bool | operator!= (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const *__rhs) |
template<typename _Bi_iter > | |
bool | operator< (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const *__rhs) |
template<typename _Bi_iter > | |
bool | operator> (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const *__rhs) |
template<typename _Bi_iter > | |
bool | operator>= (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const *__rhs) |
template<typename _Bi_iter > | |
bool | operator<= (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const *__rhs) |
template<typename _Bi_iter > | |
bool | operator== (typename iterator_traits< _Bi_iter >::value_type const &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator!= (typename iterator_traits< _Bi_iter >::value_type const &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator< (typename iterator_traits< _Bi_iter >::value_type const &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator> (typename iterator_traits< _Bi_iter >::value_type const &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator>= (typename iterator_traits< _Bi_iter >::value_type const &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator<= (typename iterator_traits< _Bi_iter >::value_type const &__lhs, const sub_match< _Bi_iter > &__rhs) |
template<typename _Bi_iter > | |
bool | operator== (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const &__rhs) |
template<typename _Bi_iter > | |
bool | operator!= (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const &__rhs) |
template<typename _Bi_iter > | |
bool | operator< (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const &__rhs) |
template<typename _Bi_iter > | |
bool | operator> (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const &__rhs) |
template<typename _Bi_iter > | |
bool | operator>= (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const &__rhs) |
template<typename _Bi_iter > | |
bool | operator<= (const sub_match< _Bi_iter > &__lhs, typename iterator_traits< _Bi_iter >::value_type const &__rhs) |
template<typename _Ch_type , typename _Ch_traits , typename _Bi_iter > | |
basic_ostream< _Ch_type, _Ch_traits > & | operator<< (basic_ostream< _Ch_type, _Ch_traits > &__os, const sub_match< _Bi_iter > &__m) |
A facility for performing regular expression pattern matching.
typedef regex_token_iterator<const char*> std::cregex_token_iterator |
typedef sub_match<const char*> std::csub_match |
typedef basic_regex<char> std::regex |
typedef regex_token_iterator<string::const_iterator> std::sregex_token_iterator |
typedef sub_match<string::const_iterator> std::ssub_match |
typedef regex_token_iterator<const wchar_t*> std::wcregex_token_iterator |
typedef sub_match<const wchar_t*> std::wcsub_match |
typedef basic_regex<wchar_t> std::wregex |
typedef regex_token_iterator<wstring::const_iterator> std::wsregex_token_iterator |
typedef sub_match<wstring::const_iterator> std::wssub_match |
_Out_iter std::__regex_replace | ( | _Out_iter | __out, |
_Bi_iter | __first, | ||
_Bi_iter | __last, | ||
const basic_regex< _Ch_type, _Rx_traits > & | __e, | ||
const _Ch_type * | __fmt, | ||
size_t | __len, | ||
regex_constants::match_flag_type | __flags | ||
) |
Determines if there is a match between the regular expression e
and all of the character sequence [first, last).
__s | Start of the character sequence to match. |
__e | One-past-the-end of the character sequence to match. |
__m | The match results. |
__re | The regular expression. |
__flags | Controls how the regular expression is matched. |
true | A match exists. |
false | Otherwise. |
an | exception of type regex_error. |
Referenced by std::regex_replace().
|
related |
|
inline |
|
related |
|
related |
|
related |
|
related |
Tests the inequivalence of two regular expression submatches.
__lhs | First regular expression submatch. |
__rhs | Second regular expression submatch. |
Definition at line 1092 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
|
related |
|
related |
|
related |
|
related |
Tests the ordering of a regular expression submatch and a character.
__lhs | A regular expression submatch. |
__rhs | A character. |
Definition at line 1619 of file regex.h.
References std::__addressof().
|
related |
Tests the ordering of a regular expression submatch and a C string.
__lhs | A regular expression submatch. |
__rhs | A null-terminated string. |
Definition at line 1444 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
Tests the ordering of two regular expression submatches.
__lhs | First regular expression submatch. |
__rhs | Second regular expression submatch. |
Definition at line 1102 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
Tests the ordering of a character and a regular expression submatch.
__lhs | A character. |
__rhs | A regular expression submatch. |
Definition at line 1519 of file regex.h.
References std::__addressof().
|
related |
Tests the ordering of a C string and a regular expression submatch.
__lhs | A null-terminated string. |
__rhs | A regular expression submatch. |
Definition at line 1350 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
Tests the ordering of two regular expression submatches.
__lhs | First regular expression submatch. |
__rhs | Second regular expression submatch. |
Definition at line 1113 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
|
related |
|
related |
|
inline |
Compares two match_results for equality.
Definition at line 2131 of file regex.h.
References std::match_results< _Bi_iter, _Alloc >::begin(), std::match_results< _Bi_iter, _Alloc >::empty(), std::match_results< _Bi_iter, _Alloc >::end(), std::match_results< _Bi_iter, _Alloc >::prefix(), std::match_results< _Bi_iter, _Alloc >::ready(), std::match_results< _Bi_iter, _Alloc >::size(), and std::match_results< _Bi_iter, _Alloc >::suffix().
|
related |
|
related |
Tests the equivalence of a regular expression submatch and a character.
__lhs | A regular expression submatch. |
__rhs | A character. |
Definition at line 1573 of file regex.h.
References std::__addressof().
|
related |
Tests the equivalence of a regular expression submatch and a C string.
__lhs | A regular expression submatch. |
__rhs | A null-terminated string. |
Definition at line 1401 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
Tests the equivalence of two regular expression submatches.
__lhs | First regular expression submatch. |
__rhs | Second regular expression submatch. |
Definition at line 1063 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
Tests the equivalence of a character and a regular expression submatch.
__lhs | A character. |
__rhs | A regular expression submatch. |
Definition at line 1494 of file regex.h.
References std::__addressof().
|
related |
Tests the equivalence of a C string and a regular expression submatch.
__lhs | A null-terminated string. |
__rhs | A regular expression submatch. |
Definition at line 1326 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
|
related |
|
related |
|
related |
|
related |
Tests the ordering of two regular expression submatches.
__lhs | First regular expression submatch. |
__rhs | Second regular expression submatch. |
Definition at line 1136 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
Tests the ordering of two regular expression submatches.
__lhs | First regular expression submatch. |
__rhs | Second regular expression submatch. |
Definition at line 1125 of file regex.h.
References std::sub_match< _BiIter >::compare().
|
related |
|
related |
|
inline |
Indicates if there is a match between the regular expression e
and all of the character sequence [first, last).
__first | Beginning of the character sequence to match. |
__last | One-past-the-end of the character sequence to match. |
__re | The regular expression. |
__flags | Controls how the regular expression is matched. |
true | A match exists. |
false | Otherwise. |
an | exception of type regex_error. |
Definition at line 2228 of file regex.h.
References std::regex_match().
|
inline |
Determines if there is a match between the regular expression e
and all of the character sequence [first, last).
__s | Start of the character sequence to match. |
__e | One-past-the-end of the character sequence to match. |
__m | The match results. |
__re | The regular expression. |
__flags | Controls how the regular expression is matched. |
true | A match exists. |
false | Otherwise. |
an | exception of type regex_error. |
Definition at line 2201 of file regex.h.
Referenced by std::regex_match().
|
inline |
Indicates if there is a match between the regular expression e
and a C-style null-terminated string.
__s | The C-style null-terminated string to match. |
__re | The regular expression. |
__f | Controls how the regular expression is matched. |
true | A match exists. |
false | Otherwise. |
an | exception of type regex_error. |
Definition at line 2313 of file regex.h.
References std::regex_match().
|
inline |
Determines if there is a match between the regular expression e
and a C-style null-terminated string.
__s | The C-style null-terminated string to match. |
__m | The match results. |
__re | The regular expression. |
__f | Controls how the regular expression is matched. |
true | A match exists. |
false | Otherwise. |
an | exception of type regex_error. |
Definition at line 2253 of file regex.h.
References std::regex_match().
|
delete |
Prevent unsafe attempts to get match_results from a temporary string.
|
inline |
Determines if there is a match between the regular expression e
and a string.
__s | The string to match. |
__m | The match results. |
__re | The regular expression. |
__flags | Controls how the regular expression is matched. |
true | A match exists. |
false | Otherwise. |
an | exception of type regex_error. |
Definition at line 2277 of file regex.h.
References std::basic_string< _CharT, _Traits, _Alloc >::begin(), std::basic_string< _CharT, _Traits, _Alloc >::end(), and std::regex_match().
|
inline |
Indicates if there is a match between the regular expression e
and a string.
__s | [IN] The string to match. |
__re | [IN] The regular expression. |
__flags | [IN] Controls how the regular expression is matched. |
true | A match exists. |
false | Otherwise. |
an | exception of type regex_error. |
Definition at line 2335 of file regex.h.
References std::basic_string< _CharT, _Traits, _Alloc >::begin(), std::basic_string< _CharT, _Traits, _Alloc >::end(), and std::regex_match().
_Out_iter std::regex_replace | ( | _Out_iter | __out, |
_Bi_iter | __first, | ||
_Bi_iter | __last, | ||
const basic_regex< _Ch_type, _Rx_traits > & | __e, | ||
const _Ch_type * | __fmt, | ||
regex_constants::match_flag_type | __flags = regex_constants::match_default |
||
) |
Search for a regular expression within a range for multiple times, and replace the matched parts through filling a format C-string.
__out | [OUT] The output iterator. |
__first | [IN] The start of the string to search. |
__last | [IN] One-past-the-end of the string to search. |
__e | [IN] The regular expression to search for. |
__fmt | [IN] The format C-string. |
__flags | [IN] Search and replace policy flags. |
an | exception of type regex_error. |
Definition at line 2540 of file regex.h.
References std::__regex_replace().
|
inline |
Search for a regular expression within a range for multiple times, and replace the matched parts through filling a format string.
__out | [OUT] The output iterator. |
__first | [IN] The start of the string to search. |
__last | [IN] One-past-the-end of the string to search. |
__e | [IN] The regular expression to search for. |
__fmt | [IN] The format string. |
__flags | [IN] Search and replace policy flags. |
an | exception of type regex_error. |
Definition at line 2514 of file regex.h.
References std::__regex_replace(), std::basic_string< _CharT, _Traits, _Alloc >::c_str(), and std::basic_string< _CharT, _Traits, _Alloc >::length().
Referenced by std::regex_replace().
|
inline |
Search for a regular expression within a C-string for multiple times, and replace the matched parts through filling a format C-string.
__s | [IN] The C-string to search and replace. |
__e | [IN] The regular expression to search for. |
__fmt | [IN] The format C-string. |
__flags | [IN] Search and replace policy flags. |
an | exception of type regex_error. |
Definition at line 2644 of file regex.h.
References std::back_inserter(), and std::regex_replace().
|
inline |
Search for a regular expression within a C-string for multiple times, and replace the matched parts through filling a format string.
__s | [IN] The C-string to search and replace. |
__e | [IN] The regular expression to search for. |
__fmt | [IN] The format string. |
__flags | [IN] Search and replace policy flags. |
an | exception of type regex_error. |
Definition at line 2618 of file regex.h.
References std::back_inserter(), and std::regex_replace().
|
inline |
Search for a regular expression within a string for multiple times, and replace the matched parts through filling a format C-string.
__s | [IN] The string to search and replace. |
__e | [IN] The regular expression to search for. |
__fmt | [IN] The format C-string. |
__flags | [IN] Search and replace policy flags. |
an | exception of type regex_error. |
Definition at line 2592 of file regex.h.
References std::back_inserter(), std::basic_string< _CharT, _Traits, _Alloc >::begin(), std::basic_string< _CharT, _Traits, _Alloc >::end(), and std::regex_replace().
|
inline |
Search for a regular expression within a string for multiple times, and replace the matched parts through filling a format string.
__s | [IN] The string to search and replace. |
__e | [IN] The regular expression to search for. |
__fmt | [IN] The format string. |
__flags | [IN] Search and replace policy flags. |
an | exception of type regex_error. |
Definition at line 2566 of file regex.h.
References std::back_inserter(), std::basic_string< _CharT, _Traits, _Alloc >::begin(), std::basic_string< _CharT, _Traits, _Alloc >::end(), and std::regex_replace().
|
inline |
Searches for a regular expression within a range.
__first | [IN] The start of the string to search. |
__last | [IN] One-past-the-end of the string to search. |
__re | [IN] The regular expression to search for. |
__flags | [IN] Search policy flags. |
true | A match was found within the string. |
false | No match was found within the string. |
an | exception of type regex_error. |
Definition at line 2381 of file regex.h.
References std::regex_search().
|
inline |
Searches for a regular expression within a range.
__s | [IN] The start of the string to search. |
__e | [IN] One-past-the-end of the string to search. |
__m | [OUT] The match results. |
__re | [IN] The regular expression to search for. |
__flags | [IN] Search policy flags. |
true | A match was found within the string. |
false | No match was found within the string, the content of m is undefined. |
an | exception of type regex_error. |
Definition at line 2358 of file regex.h.
Referenced by std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_iterator(), and std::regex_search().
|
inline |
Searches for a regular expression within a C-string.
__s | [IN] The C-string to search. |
__e | [IN] The regular expression to search for. |
__f | [IN] Search policy flags. |
true | A match was found within the string. |
false | No match was found within the string. |
an | exception of type regex_error. |
Definition at line 2423 of file regex.h.
References std::regex_search().
|
inline |
Searches for a regular expression within a C-string.
__s | [IN] A C-string to search for the regex. |
__m | [OUT] The set of regex matches. |
__e | [IN] The regex to search for in s . |
__f | [IN] The search flags. |
true | A match was found within the string. |
false | No match was found within the string, the content of m is undefined. |
an | exception of type regex_error. |
Definition at line 2404 of file regex.h.
References std::regex_search().
|
delete |
Prevent unsafe attempts to get match_results from a temporary string.
|
inline |
Searches for a regular expression within a string.
__s | [IN] A C++ string to search for the regex. |
__m | [OUT] The set of regex matches. |
__e | [IN] The regex to search for in s . |
__f | [IN] The search flags. |
true | A match was found within the string. |
false | No match was found within the string, the content of m is undefined. |
an | exception of type regex_error. |
Definition at line 2465 of file regex.h.
References std::basic_string< _CharT, _Traits, _Alloc >::begin(), std::basic_string< _CharT, _Traits, _Alloc >::end(), and std::regex_search().
|
inline |
Searches for a regular expression within a string.
__s | [IN] The string to search. |
__e | [IN] The regular expression to search for. |
__flags | [IN] Search policy flags. |
true | A match was found within the string. |
false | No match was found within the string. |
an | exception of type regex_error. |
Definition at line 2442 of file regex.h.
References std::regex_search().
|
related |
|
inlinenoexcept |