Lines Matching defs:match
357 { OP_NODATA, 'L', NULL, "files-without-match","print only FILE names not containing matches" },
362 { OP_LONGNUMBER, N_M_LIMIT, &match_limit, "match-limit=number", "set PCRE match limit option" },
363 { OP_LONGNUMBER, N_M_LIMIT_REC, &match_limit_recursion, "recursion-limit=number", "set PCRE match recursion limit option" },
392 { OP_NODATA, 'v', NULL, "invert-match", "select non-matching lines" },
393 { OP_NODATA, 'w', NULL, "word-regex(p)", "force patterns to match only as words" },
394 match only whole lines" },
941 there are no includes, the path must match an include pattern.
1382 lastmatchrestart where we restarted after the last match
1416 /* This function is called to run through all patterns, looking for a match. It
1422 length the length of the subject to match
1428 Returns: TRUE if there was a match
1429 FALSE if there was no match
1469 return FALSE; /* No match, no errors */
1491 printname the file name if it is to be printed for each match
1495 Returns: 0 if there was at least one match
1586 BOOL match;
1596 option is used for compiling, so that any match is constrained to be in the
1652 match = (pcre_exec(patterns->compiled, patterns->hint, ptr, length, 0,
1662 printf("%s TIMER[%.4f]\n", match ? "MATCH" : "FAIL", delta);
1667 /* We come back here after a match when show_only_matching is set, in order
1676 match, set PCRE_NOTEMPTY to disable any further matches of null strings in
1679 match = match_patterns(matchptr, length, options, startoffset, offsets, &mrc);
1682 /* If it's a match or a not-match (as required), do what's wanted. */
1684 if (match != invert)
1775 /* Prepare to repeat to find the next match */
1777 match = FALSE;
1780 startoffset = offsets[1]; /* Restart after the match */
1792 previous match. We never print any overlaps. */
1832 match. Again, don't print overlaps. */
1872 line number appropriately, but only when there actually was a match
1874 the match will always be before the first newline sequence. */
1908 matches, but not of course if the line is a non-match. */
1943 /* End of doing what has to be done for a match. If --line-buffered was
1949 /* Remember where the last match happened for after_context. We remember
1956 /* For a match in multiline inverted mode (which of course did not cause
1957 anything to be printed), we have to move on to the end of the match before
1960 if (multiline && invert && match)
2031 /* Adjust any last match point */
2047 were none. If we found a match, we won't have got this far. */
2055 /* Print the match count if wanted */
2085 0 if there was at least one match
2907 else if (strcmp(option_data, "without-match") == 0)
3152 /* If --match-limit or --recursion-limit was set, put the value(s) into the