Files
pcre2/testdata/grepoutputCU
Nicholas Wilson 30320bb18d Add test and fix for buffer over-read in pcre2grep (#594)
Found by Clang-Analyze in #576

This test fails without the code fix, which required correcting the way
the pcre2grep tests are run with valgrind.

The new test passes with the code changes made.
2024-12-06 17:18:33 +00:00

35 lines
506 B
Plaintext

--- Test 1 ---
0:¦
The quick brown
0:¦
This time it jumps and jumps and jumps.
0:¦
This line contains \E and (regex) *meta* [characters].
0:¦
The word is cat in this line
0:¦
The caterpillar sat on the mat
0:¦
The snowcat is not an animal
RC=0
--- Test 2 ---
0:¦
The quick brown
0:¦
This time it jumps and jumps and jumps.
0:¦
This line contains \E and (regex) *meta* [characters].
0:¦
The word is cat in this line
0:¦
The caterpillar sat on the mat
0:¦
The snowcat is not an animal
RC=0