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::tr1::sub_match object.
Definition at line 2544 of file tr1_impl/regex.
std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_token_iterator | ( | ) |
std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_token_iterator | ( | _Bi_iter | __a, | |
_Bi_iter | __b, | |||
const regex_type & | __re, | |||
int | __submatch = 0 , |
|||
regex_constants::match_flag_type | __m = regex_constants::match_default | |||
) |
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. |
Implement this function.
Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.
std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_token_iterator | ( | _Bi_iter | __a, | |
_Bi_iter | __b, | |||
const regex_type & | __re, | |||
const std::vector< int > & | __submatches, | |||
regex_constants::match_flag_type | __m = regex_constants::match_default | |||
) |
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. |
Implement this function.
Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.
std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_token_iterator | ( | _Bi_iter | __a, | |
_Bi_iter | __b, | |||
const regex_type & | __re, | |||
const int(&) | __submatches[_Nm], | |||
regex_constants::match_flag_type | __m = regex_constants::match_default | |||
) | [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. |
Implement this function.
Doc me! See doc/doxygen/TODO and http://gcc.gnu.org/ml/libstdc++/2002-02/msg00003.html for more.
std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_token_iterator | ( | const regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits > & | __rhs | ) |
Copy constructs a regex_token_iterator.
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 | ) |
Compares a regex_token_iterator to another for inequality.
const value_type& std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator* | ( | ) |
Dereferences a regex_token_iterator.
regex_token_iterator std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator++ | ( | int | ) |
Postincrements a regex_token_iterator.
regex_token_iterator& std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator++ | ( | ) |
Increments a regex_token_iterator.
const value_type* std::regex_token_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator-> | ( | ) |
Selects a regex_token_iterator member.
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 | ) |
Compares a regex_token_iterator to another for equality.