std::regex_token_iterator::operators (int)

regex_token_iterator& operator++(); (since C++11) regex_token_iterator operator++(int); (since C++11) Advances the iterator on the next sub match. If *this is a suffix iterator, sets *this to an end-of-sequence iterator. Otherwise, if N + 1 < subs.size(), increments N and sets result to the address of the current match. Otherwise, sets N to ​0​ and increments position. If position is not an end-of-sequence iterator the operator sets result to the address of the current matc

std::regex_token_iterator

Defined in header <regex> template< class BidirIt, class CharT = typename std::iterator_traits<BidirIt>::value_type, class Traits = std::regex_traits<CharT> > class regex_token_iterator (since C++11) std::regex_token_iterator is a read-only ForwardIterator that accesses the individual sub-matches of every match of a regular expression within the underlying character sequence. It can also be used to access the parts of the sequence that were not

std::regex_search

Defined in header <regex> template< class BidirIt, class Alloc, class CharT, class Traits > bool regex_search( BidirIt first, BidirIt last, std::match_results<BidirIt,Alloc>& m, const std::basic_regex<CharT,Traits>& e, std::regex_constants::match_flag_type flags = std::regex_constants::match_default ); (1) (since C++11) template< class CharT, class Alloc,

std::regex_replace

Defined in header <regex> template< class OutputIt, class BidirIt, class Traits, class CharT, class STraits, class SAlloc > OutputIt regex_replace( OutputIt out, BidirIt first, BidirIt last, const std::basic_regex<CharT,Traits>& re, const std::basic_string<CharT,STraits,SAlloc>& fmt, std::regex_constants::match_flag_type flags = std::re

std::regex_match

Defined in header <regex> template< class BidirIt, class Alloc, class CharT, class Traits > bool regex_match( BidirIt first, BidirIt last, std::match_results<BidirIt,Alloc>& m, const std::basic_regex<CharT,Traits>& e, std::regex_constants::match_flag_type flags = std::regex_constants::match_default ); (1) (since C++11) template< class BidirIt, class

std::regex_iterator::regex_iterator

regex_iterator(); (1) (since C++11) regex_iterator(BidirIt a, BidirIt b, const regex_type& re, std::regex_constants::match_flag_type m = std::regex_constants::match_default); (2) (since C++11) regex_iterator(const regex_iterator&); (3) (since C++11) regex_iterator(BidirIt, BidirIt, const regex_type&&, std::regex_constants::match_flag_type = std::regex_constants::m

std::regex_iterator::operators (int)

regex_iterator& operator++(); (since C++11) regex_iterator operator++(int); (since C++11) Advances the iterator on the next match. At first, a local variable of type BidirIt is constructed with the value of match[0].second. If the iterator holds a zero-length match and start == end, *this is set to end-of-sequence iterator and the function returns. Otherwise, if the iterator holds a zero-length match the operator invokes the following: regex_search(start, end, match, *pregex,

std::regex_iterator::operators

bool operator==(const regex_iterator& rhs) const; (1) (since C++11) bool operator!=(const regex_iterator& rhs) const; (2) (since C++11) Compares two regex_iterators. For the sake of exposition, assume that regex_iterator contains the following members: BidirIt begin; BidirIt end; const regex_type *pregex; std::regex_constants::match_flag_type flags; std::match_results<BidirIt> match; 1) Returns true if *this and rhs are both end-of-sequence iterators, or

std::regex_iterator

template< class BidirIt, class CharT = typename std::iterator_traits<BidirIt>::value_type, class Traits = std::regex_traits<CharT> > class regex_iterator (since C++11) std::regex_iterator is a read-only ForwardIterator that accesses the individual matches of a regular expression within the underlying character sequence. On construction, and on every increment, it calls std::regex_search and remembers the result (that is, saves a copy of the value std::match

std::regex_error::regex_error

Defined in header <regex> regex_error(std::regex_constants::error_type ecode); (since C++11) Constructs a regex_error with a given ecode of type std::regex_constants::error_type . See Also error_type (C++11) describes different types of matching errors (typedef)