Lines Matching defs:match_result
52 std::smatch match_result;
53 bool has_match = std::regex_match(text, match_result, assertion_format);
55 assert(match_result.size() == 5);
57 const std::string& file = match_result[1];
58 int line = std::stoi(match_result[2]);
59 // Omitting `expression` in `match_result[3]`
60 const std::string& assertion_message = match_result[4];
219 MatchResult match_result = matcher(GetChildStdErr());
220 if (!match_result.first) {
221 auto failure_description = std::string("Child died, but with a different error message\n") + match_result.second;