mirror of
https://github.com/PCRE2Project/pcre2.git
synced 2025-10-17 07:04:13 +08:00

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.
35 lines
506 B
Plaintext
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
|