std::regex_token_iterator::regex_token_iterator

regex_token_iterator(); (1) (since C++11) regex_token_iterator( BidirectionalIterator a, BidirectionalIterator b, const regex_type& re, int submatch = 0, std::regex_constants::match_flag_type m = std::regex_constants::match_default ); (2) (since C++11) regex_token_iterator( BidirectionalIterator a, BidirectionalIterator b, const regex_type& re,

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_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_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_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_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::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::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_error::code

Defined in header <regex> std::regex_constants::error_type code() const; (since C++11) Returns the std::regex_constants::error_type that was passed to the std::regex_error constructor. See Also error_type (C++11) describes different types of matching errors (typedef) (constructor) constructs a regex_error object (public member function)

std::regex_error

Defined in header <regex> class regex_error; (since C++11) Defines the type of exception object thrown to report errors in the regular expressions library. Inheritance diagram. Member functions (constructor) constructs a regex_error object (public member function) code gets the std::regex_constants::error_type for a regex_error (public member function) Inherited from std::exception Member functions (destructor) [virtual] destructs the exce