regex_iterator() function in C++ STL
regex_iterator() is a function from the BiDirectionalIterator class in C++. This method returns an iterator type to iterate over different matches of a same regex pattern in a sequence. Syntax: template< class BidirectionalIterator, class CharT = typename std::iterator_traits::value_type, class T