Match
std::regex_match
determines if text matches a text pattern. You can further analyse the search result of type std::match_results
.
The code snippet below shows three simple applications of std::regex_match
: a C string, a C++ string and a range returning only a boolean. The three variants are available for std::match_results
objects respectively.