35 std::regex argumentList(
"(,[a-z]+\\(.*)");
36 std::regex endParenthesis(
"\\)(.*)");
39 std::string str(it, end);
40 if (!std::regex_match(str, what, argumentList))
return false;
46 str = std::string(it, end);
47 if (!std::regex_match(str, what, endParenthesis))
return false;
49 std::string fullMatch = what[0];
50 std::string rest = what[1];
52 it += (fullMatch.size() - rest.size());