C++ Language/Std/Strings/RegularExpressions
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)