class template
<regex>
std::regex_iteratortemplate <class BidirectionalIterator, class charT=typename iterator_traits<BidirectionalIterator>::value_type, class traits=regex_traits<charT> > class regex_iterator;
Regex iterator
Iterator type to iterate over different matches of a same regex pattern in a sequence.When constructed, and every time operator++ is applied to it, the iterator performs a regex_search to find successive matches on a sequence. Dereferencing a valid regex_iterator yields a match_results object.
A special value of regex_iterator is used to indicate an end-of-sequence. This iterator should not be dereferenced. Its value is the same for all end-of-sequence regex_iterator objects of the same type, no matter the sequence being iterated by each.
Internally, the object keeps a match_results object with the information about the most recent match (if any), which is updated every time the iterator is incremented with operator++. A reference to this object is returned when the iterator is dereferenced using operator*.
Apart from that match_results object, the iterator keeps internally the following information set either on construction or due to an assignment operation:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4