Home | History | Annotate | Download | only in doc

Lines Matching full:patterns

14        pcregrep  searches  files  for  character  patterns, in the same way as
16 to support patterns that are compatible with the regular expressions of
21 Patterns, whether supplied on the command line or in a separate file,
28 part of the pattern. Quotes can of course be used to delimit patterns
49 makes it possible to search for patterns that span line boundaries.
60 Patterns can be no longer than 8K or BUFSIZ bytes, whichever is the
64 the -e patterns are tried before the -f patterns.
66 By default, as soon as one pattern matches a line, no further patterns
72 found. If there are multiple patterns, they are all tried on the
73 remainder of the line, but patterns that follow the one that matched
76 This behaviour means that the order in which multiple patterns are
79 display earlier matches for later patterns (as long as there is no
82 Patterns that can match an empty string are accepted, but empty string
125 option. This allows for the processing of patterns and file-
227 tiple times in order to specify several patterns. It can also
231 names. There is no limit to the number of patterns. They are
235 If -f is used with -e, the command line patterns are matched
236 first, followed by the patterns from the file(s), independent
240 line that is X or Y, whereas if the two patterns are given
254 any number of times in order to specify multiple patterns. If
286 present). This option applies only to the patterns that are
288 patterns specified by any of the --include or --exclude
292 Read patterns from the file, one per line, and match them
297 An empty file contains no patterns and therefore matches
298 nothing. See also the comments about multiple patterns versus
303 files are read. A data line is output if any of the patterns
305 standard input. When -f is used, patterns specified on the
307 before the file's patterns. However, no other pattern is
318 ified as "-", patterns are read first. This is useful only
359 If any --include patterns are specified, the only files that
360 are processed are those that match one of the patterns (and
380 If any --include-dir patterns are specified, the only direc-
382 patterns (and do not match an --exclude-dir pattern). This
445 Processing some regular expression patterns can require a
447 gram crash if not enough is available. Other patterns may
454 resource usage when processing patterns that are not going to
477 Allow patterns to match more than one line. When this option
478 is given, patterns may usefully contain literal newline char-
595 has been compiled with UTF-8 support. All patterns (including
607 match any of the patterns are the ones that are found.
610 Force the patterns to match only whole words. This is equiva-
612 option applies only to the patterns that are matched against
613 the contents of files; it does not apply to patterns speci-
617 Force the patterns to be anchored (each must start matching
621 every pattern. This option applies only to the patterns that
623 to patterns specified by any of the --include or --exclude
703 time to fail to match certain lines. Such patterns normally involve