411 REFERENCE · Wikibooks
C++ Language/Std/Strings/RegularExpressions
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
The std::regex_match() function compares an input string against the regular expression pattern stored in a std::regex object.
The result of that matching is output into a std::cmatch object (which can be converted into a std::string by str()).
Additional information about regular expressions (includes interactive examples)