43 std::regex argumentList(
"(,[a-z]+\\(.*)");
44 std::regex endParenthesis(
"\\)(.*)");
47 std::string str(it, end);
48 if (!std::regex_match(str, what, argumentList))
return false;
54 str = std::string(it, end);
55 if (!std::regex_match(str, what, endParenthesis))
return false;
57 std::string fullMatch = what[0];
58 std::string rest = what[1];
60 it += (fullMatch.size() - rest.size());