Lines Matching refs:match
96 * regex - Regular expression to match the string against.
97 * match - Upon successful match contains information about the part of the
100 * Boolean: 1 if a match has been found, or 0 if match has not been found in
103 static int MatchRegex(const char* line, const regex_t* regex, regmatch_t* match);
172 regmatch_t match;
203 if (MatchRegex(line, &parser->re_pid_header, &match)) {
204 fprintf(parser->out_handle, "%s\n", line + match.rm_so);
212 if (MatchRegex(line, &parser->re_sig_header, &match)) {
213 fprintf(parser->out_handle, "%s\n", line + match.rm_so);
219 if (MatchRegex(line, &parser->re_frame_header, &match)) {
221 return ParseFrame(parser, line + match.rm_so);
232 MatchRegex(const char* line, const regex_t* regex, regmatch_t* match)
234 int err = regexec(regex, line, 1, match, 0x00400/*REG_TRACE*/);