46 std::regex argumentList(
"(,[a-z]+\\(.*)");
47 std::regex endParenthesis(
"\\)(.*)");
50 std::string str(it, end);
51 if (!std::regex_match(str, what, argumentList))
return false;
57 str = std::string(it, end);
58 if (!std::regex_match(str, what, endParenthesis))
return false;
60 std::string fullMatch = what[0];
61 std::string rest = what[1];
63 it += (fullMatch.size() - rest.size());