|
bool | ready () const noexcept |
|
|
| match_results () |
|
| match_results (const _Alloc &__a) noexcept |
|
| match_results (const match_results &)=default |
|
| match_results (match_results &&) noexcept=default |
|
match_results & | operator= (const match_results &)=default |
|
match_results & | operator= (match_results &&)=default |
|
| ~match_results ()=default |
|
|
size_type | size () const noexcept |
|
size_type | max_size () const noexcept |
|
bool | empty () const noexcept |
|
|
difference_type | length (size_type __sub=0) const |
|
difference_type | position (size_type __sub=0) const |
|
string_type | str (size_type __sub=0) const |
|
const_reference | operator[] (size_type __sub) const |
|
const_reference | prefix () const |
|
const_reference | suffix () const |
|
const_iterator | begin () const noexcept |
|
const_iterator | cbegin () const noexcept |
|
const_iterator | end () const noexcept |
|
const_iterator | cend () const noexcept |
|
|
These functions perform formatted substitution of the matched character sequences into their target. The format specifiers and escape sequences accepted by these functions are determined by their flags parameter as documented above.
|
template<typename _Out_iter > |
_Out_iter | format (_Out_iter __out, const char_type *__fmt_first, const char_type *__fmt_last, match_flag_type __flags=regex_constants::format_default) const |
|
template<typename _Out_iter , typename _St , typename _Sa > |
_Out_iter | format (_Out_iter __out, const basic_string< char_type, _St, _Sa > &__fmt, match_flag_type __flags=regex_constants::format_default) const |
|
template<typename _St , typename _Sa > |
basic_string< char_type, _St, _Sa > | format (const basic_string< char_type, _St, _Sa > &__fmt, match_flag_type __flags=regex_constants::format_default) const |
|
string_type | format (const char_type *__fmt, match_flag_type __flags=regex_constants::format_default) const |
|
|
allocator_type | get_allocator () const noexcept |
|
|
void | swap (match_results &__that) noexcept |
|
|
constexpr pointer | _M_allocate (size_t __n) |
|
constexpr pointer | _M_allocate (size_t __n) |
|
constexpr pointer | _M_allocate_and_copy (size_type __n, _ForwardIterator __first, _ForwardIterator __last) |
|
constexpr void | _M_assign_aux (_InputIterator __first, _InputIterator __last, std::input_iterator_tag) |
|
constexpr void | _M_assign_aux (_ForwardIterator __first, _ForwardIterator __last, std::forward_iterator_tag) |
|
constexpr void | _M_assign_dispatch (_Integer __n, _Integer __val, __true_type) |
|
constexpr void | _M_assign_dispatch (_InputIterator __first, _InputIterator __last, __false_type) |
|
constexpr size_type | _M_check_len (size_type __n, const char *__s) const |
|
constexpr void | _M_create_storage (size_t __n) |
|
constexpr void | _M_deallocate (pointer __p, size_t __n) |
|
constexpr void | _M_deallocate (pointer __p, size_t __n) |
|
constexpr void | _M_default_append (size_type __n) |
|
constexpr void | _M_default_initialize (size_type __n) |
|
constexpr auto | _M_emplace_aux (const_iterator __position, _Args &&... __args) -> iterator |
|
constexpr iterator | _M_emplace_aux (const_iterator __position, _Args &&... __args) |
|
constexpr iterator | _M_emplace_aux (const_iterator __position, value_type &&__v) |
|
constexpr iterator | _M_erase (iterator __position) |
|
constexpr iterator | _M_erase (iterator __first, iterator __last) |
|
constexpr void | _M_erase_at_end (pointer __pos) noexcept |
|
constexpr void | _M_fill_assign (size_type __n, const value_type &__val) |
|
constexpr void | _M_fill_initialize (size_type __n, const value_type &__value) |
|
constexpr void | _M_fill_insert (iterator __pos, size_type __n, const value_type &__x) |
|
constexpr _Tp_alloc_type & | _M_get_Tp_allocator () noexcept |
|
constexpr const _Tp_alloc_type & | _M_get_Tp_allocator () const noexcept |
|
constexpr _Tp_alloc_type & | _M_get_Tp_allocator () noexcept |
|
constexpr const _Tp_alloc_type & | _M_get_Tp_allocator () const noexcept |
|
constexpr void | _M_insert_aux (iterator __position, _Arg &&__arg) |
|
constexpr void | _M_insert_dispatch (iterator __pos, _Integer __n, _Integer __val, __true_type) |
|
constexpr void | _M_insert_dispatch (iterator __pos, _InputIterator __first, _InputIterator __last, __false_type) |
|
constexpr iterator | _M_insert_rval (const_iterator __position, value_type &&__v) |
|
constexpr void | _M_range_check (size_type __n) const |
|
constexpr void | _M_range_initialize (_InputIterator __first, _InputIterator __last, std::input_iterator_tag) |
|
constexpr void | _M_range_initialize (_ForwardIterator __first, _ForwardIterator __last, std::forward_iterator_tag) |
|
constexpr void | _M_range_insert (iterator __pos, _InputIterator __first, _InputIterator __last, std::input_iterator_tag) |
|
constexpr void | _M_range_insert (iterator __pos, _ForwardIterator __first, _ForwardIterator __last, std::forward_iterator_tag) |
|
constexpr void | _M_realloc_insert (iterator __position, _Args &&... __args) |
|
constexpr bool | _M_shrink_to_fit () |
|
constexpr void | assign (size_type __n, const value_type &__val) |
|
constexpr void | assign (_InputIterator __first, _InputIterator __last) |
|
constexpr void | assign (initializer_list< value_type > __l) |
|
constexpr reference | at (size_type __n) |
|
constexpr const_reference | at (size_type __n) const |
|
constexpr reference | back () noexcept |
|
constexpr const_reference | back () const noexcept |
|
constexpr iterator | begin () noexcept |
|
constexpr size_type | capacity () const noexcept |
|
constexpr void | clear () noexcept |
|
constexpr const_reverse_iterator | crbegin () const noexcept |
|
constexpr const_reverse_iterator | crend () const noexcept |
|
constexpr sub_match< _Bi_iter > * | data () noexcept |
|
constexpr const sub_match< _Bi_iter > * | data () const noexcept |
|
constexpr iterator | emplace (const_iterator __position, _Args &&... __args) |
|
constexpr reference | emplace_back (_Args &&... __args) |
|
constexpr iterator | end () noexcept |
|
constexpr iterator | erase (const_iterator __position) |
|
constexpr iterator | erase (const_iterator __first, const_iterator __last) |
|
constexpr reference | front () noexcept |
|
constexpr const_reference | front () const noexcept |
|
constexpr allocator_type | get_allocator () const noexcept |
|
constexpr iterator | insert (const_iterator __position, const value_type &__x) |
|
constexpr iterator | insert (const_iterator __position, value_type &&__x) |
|
constexpr iterator | insert (const_iterator __position, initializer_list< value_type > __l) |
|
constexpr iterator | insert (const_iterator __position, size_type __n, const value_type &__x) |
|
constexpr iterator | insert (const_iterator __position, _InputIterator __first, _InputIterator __last) |
|
constexpr reference | operator[] (size_type __n) noexcept |
|
constexpr const_reference | operator[] (size_type __n) const noexcept |
|
constexpr void | pop_back () noexcept |
|
constexpr void | push_back (const value_type &__x) |
|
constexpr void | push_back (value_type &&__x) |
|
constexpr reverse_iterator | rbegin () noexcept |
|
constexpr const_reverse_iterator | rbegin () const noexcept |
|
constexpr reverse_iterator | rend () noexcept |
|
constexpr const_reverse_iterator | rend () const noexcept |
|
constexpr void | reserve (size_type __n) |
|
constexpr void | resize (size_type __new_size) |
|
constexpr void | resize (size_type __new_size, const value_type &__x) |
|
constexpr void | shrink_to_fit () |
|
constexpr void | swap (vector &__x) noexcept |
|
template<typename _Bi_iter, typename _Alloc = allocator<sub_match<_Bi_iter> >>
class std::match_results< _Bi_iter, _Alloc >
The results of a match or search operation.
A collection of character sequences representing the result of a regular expression match. Storage for the collection is allocated and freed as necessary by the member functions of class template match_results.
This class satisfies the Sequence requirements, with the exception that only the operations defined for a const-qualified Sequence are supported.
The sub_match object stored at index 0 represents sub-expression 0, i.e. the whole match. In this case the sub_match member matched is always true. The sub_match object stored at index n denotes what matched the marked sub-expression n within the matched expression. If the sub-expression n participated in a regular expression match then the sub_match member matched evaluates to true, and members first and second denote the range of characters [first, second) which formed that match. Otherwise matched is false, and members first and second point to the end of the sequence that was searched.
Definition at line 39 of file regex.h.