31 Regular expressions library [re]
31.12 Regular expression iterators [re.iter]
bool operator==(const regex_iterator& right) const;
Returns: true if *this and right are both end-of-sequence
iterators or if the following conditions all hold:
otherwise false.
bool operator!=(const regex_iterator& right) const;
Returns: !(*this == right).