1std::regex re("Get|GetValue");
2std::cmatch m;
3std::regex_search("GetValue", m, re); // returns true, and m[0] contains "Get"
4std::regex_match ("GetValue", m, re); // returns true, and m[0] contains "GetValue"
5std::regex_search("GetValues", m, re); // returns true, and m[0] contains "Get"
6std::regex_match ("GetValues", m, re); // returns false