Home | History | Annotate | Download | only in pcre

Lines Matching defs:patterns

230   { OP_NODATA,     'F',      NULL,              "fixed-strings", "patterns are sets of newline-separated strings" },
231 { OP_STRING, 'f', &pattern_filename, "file=path", "read patterns from file" },
270 { OP_NODATA, 'w', NULL, "word-regex(p)", "force patterns to match only as words" },
271 { OP_NODATA, 'x', NULL, "line-regex(p)", "force patterns to match only whole lines" },
275 /* Tables for prefixing and suffixing patterns, according to the -w, -x, and -F
930 * Apply patterns to subject till one matches *
933 /* This function is called to run through all patterns, looking for a match. It
1152 /* Run through all the patterns until one matches or there is an error other
1564 each file and directory within it, subject to any include or exclude patterns
1812 printf("\nWhen reading patterns from a file instead of using a command line option,\n");
1814 printf("There is a maximum of %d patterns.\n", MAX_PATTERN_COUNT);
2020 char *patterns[MAX_PATTERN_COUNT];
2052 but only if we have previously had -e or -f to define the patterns. */
2267 multiple times to create a list of patterns. */
2273 fprintf(stderr, "pcregrep: Too many command-line patterns (max %d)\n",
2277 patterns[cmd_pattern_count++] = option_data;
2475 /* If no patterns were provided by -e, and there is no file provided by -f,
2481 patterns[cmd_pattern_count++] = argv[i++];
2484 /* Compile the patterns that were provided on the command line, either by
2489 if (!compile_pattern(patterns[j], pcre_options, NULL,
2578 /* If there are include or exclude patterns, compile them. */