The Search Result match_results
The object of type std::match_results
is the result of a std::regex_match
or std::regex_search
. std::match_results
is a sequential container having at least one capture group of a std::sub_match
object. The std::sub_match
objects are sequences of characters.
C++ has four types of synonyms of type std::match_results
:
The search result std::smatch smatch
has a powerful interface.