libstdc++
|
Public Types | |
typedef std::ptrdiff_t | difference_type |
typedef std::forward_iterator_tag | iterator_category |
typedef const value_type * | pointer |
typedef const value_type & | reference |
typedef basic_regex< _Ch_type, _Rx_traits > | regex_type |
typedef sub_match< _Bi_iter > | value_type |
Iterates over submatches in a range (or splits a text string).
The purpose of this iterator is to enumerate all, or all specified, matches of a regular expression within a text range. The dereferenced value of an iterator of this class is a std::sub_match object.
|
inline |
|
inline |
Constructs a regex_token_iterator...
__a | [IN] The start of the text to search. |
__b | [IN] One-past-the-end of the text to search. |
__re | [IN] The regular expression to search for. |
__submatch | [IN] Which submatch to return. There are some special values for this parameter:
|
__m | [IN] Policy flags for match rules. |
|
inline |
Constructs a regex_token_iterator...
__a | [IN] The start of the text to search. |
__b | [IN] One-past-the-end of the text to search. |
__re | [IN] The regular expression to search for. |
__submatches | [IN] A list of subexpressions to return for each regular expression match within the text. |
__m | [IN] Policy flags for match rules. |
|
inline |
Constructs a regex_token_iterator...
__a | [IN] The start of the text to search. |
__b | [IN] One-past-the-end of the text to search. |
__re | [IN] The regular expression to search for. |
__submatches | [IN] A list of subexpressions to return for each regular expression match within the text. |
__m | [IN] Policy flags for match rules. |
|
inline |
Constructs a regex_token_iterator...
__a | [IN] The start of the text to search. |
__b | [IN] One-past-the-end of the text to search. |
__re | [IN] The regular expression to search for. |
__submatches | [IN] A list of subexpressions to return for each regular expression match within the text. |
__m | [IN] Policy flags for match rules. |
|
inline |
|
inline |
|
inline |
regex_token_iterator& std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator++ | ( | ) |
Increments a regex_token_iterator.
|
inline |
|
inline |
regex_token_iterator& std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator= | ( | const regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits > & | __rhs | ) |
Assigns a regex_token_iterator to another.
__rhs | [IN] A regex_token_iterator to copy. |
bool std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator== | ( | const regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits > & | __rhs | ) | const |
Compares a regex_token_iterator to another for equality.