Files
pcre2/testdata/grepinputv
Carlo Marcelo Arenas Belón c63d7c992e pcre2grep: add --posix-pattern-file for compatibility with other grep (#428)
Historically, pcre2grep has done minor processing of the patterns that
were read through the `-f` option.

The end result is that for some patterns there are different results
depending if they were provided through `-e`, `-f` or as a parameter
in the command line.

Add a flag that could be provided to skip that processing so that the
same pattern file used with other grep implementations could be used
directly for the same result.
2024-06-18 15:45:13 +01:00

11 lines
279 B
Plaintext

The quick brown
fox jumps
over the lazy dog.
This time it jumps and jumps and jumps.
This line contains \E and (regex) *meta* [characters].
The word is cat in this line
The caterpillar sat on the mat
The snowcat is not an animal
A buried feline in the syndicate
trailing spaces