36 boost::regex argumentList(
"(,[a-z]+\\(.*)");
37 boost::regex endParenthesis(
"\\)(.*)");
40 std::string str(it,
end);
41 if (!boost::regex_match(str, what, argumentList))
return false;
47 str = std::string(it,
end);
48 if (!boost::regex_match(str, what, endParenthesis))
return false;
50 std::string fullMatch = what[0];
51 std::string rest = what[1];
53 it += (fullMatch.size() - rest.size());