Updated PCRE source to version 8.32 (bug 5593).
This commit is contained in:
Vendored
+310
-28
@@ -2,36 +2,44 @@
|
||||
PATTERN at the start of a line.
|
||||
In the middle of a line, PATTERN appears.
|
||||
Check up on PATTERN near the end.
|
||||
RC=0
|
||||
---------------------------- Test 2 ------------------------------
|
||||
PATTERN at the start of a line.
|
||||
RC=0
|
||||
---------------------------- Test 3 ------------------------------
|
||||
7:PATTERN at the start of a line.
|
||||
8:In the middle of a line, PATTERN appears.
|
||||
10:This pattern is in lower case.
|
||||
608:Check up on PATTERN near the end.
|
||||
610:Check up on PATTERN near the end.
|
||||
RC=0
|
||||
---------------------------- Test 4 ------------------------------
|
||||
4
|
||||
RC=0
|
||||
---------------------------- Test 5 ------------------------------
|
||||
./testdata/grepinput:7:PATTERN at the start of a line.
|
||||
./testdata/grepinput:8:In the middle of a line, PATTERN appears.
|
||||
./testdata/grepinput:10:This pattern is in lower case.
|
||||
./testdata/grepinput:608:Check up on PATTERN near the end.
|
||||
./testdata/grepinput:610:Check up on PATTERN near the end.
|
||||
./testdata/grepinputx:3:Here is the pattern again.
|
||||
./testdata/grepinputx:5:Pattern
|
||||
./testdata/grepinputx:42:This line contains pattern not on a line by itself.
|
||||
RC=0
|
||||
---------------------------- Test 6 ------------------------------
|
||||
7:PATTERN at the start of a line.
|
||||
8:In the middle of a line, PATTERN appears.
|
||||
10:This pattern is in lower case.
|
||||
608:Check up on PATTERN near the end.
|
||||
610:Check up on PATTERN near the end.
|
||||
3:Here is the pattern again.
|
||||
5:Pattern
|
||||
42:This line contains pattern not on a line by itself.
|
||||
RC=0
|
||||
---------------------------- Test 7 ------------------------------
|
||||
./testdata/grepinput
|
||||
./testdata/grepinputx
|
||||
RC=0
|
||||
---------------------------- Test 8 ------------------------------
|
||||
./testdata/grepinput
|
||||
RC=0
|
||||
---------------------------- Test 9 ------------------------------
|
||||
RC=0
|
||||
---------------------------- Test 10 -----------------------------
|
||||
@@ -78,33 +86,44 @@ RC=1
|
||||
40:twenty
|
||||
41:
|
||||
43:This is the last line of this file.
|
||||
RC=0
|
||||
---------------------------- Test 12 -----------------------------
|
||||
Pattern
|
||||
RC=0
|
||||
---------------------------- Test 13 -----------------------------
|
||||
Here is the pattern again.
|
||||
That time it was on a line by itself.
|
||||
seventeen
|
||||
This line contains pattern not on a line by itself.
|
||||
RC=0
|
||||
---------------------------- Test 14 -----------------------------
|
||||
./testdata/grepinputx:To pat or not to pat, that is the question.
|
||||
RC=0
|
||||
---------------------------- Test 15 -----------------------------
|
||||
pcregrep: Error in command-line regex at offset 4: nothing to repeat
|
||||
RC=2
|
||||
---------------------------- Test 16 -----------------------------
|
||||
pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory
|
||||
RC=2
|
||||
---------------------------- Test 17 -----------------------------
|
||||
features should be added at the end, because some of the tests involve the
|
||||
output of line numbers, and we don't want these to change.
|
||||
RC=0
|
||||
---------------------------- Test 18 -----------------------------
|
||||
4:features should be added at the end, because some of the tests involve the
|
||||
output of line numbers, and we don't want these to change.
|
||||
583:brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
|
||||
-------------------------------------------------------------------------------
|
||||
RC=0
|
||||
---------------------------- Test 19 -----------------------------
|
||||
Pattern
|
||||
RC=0
|
||||
---------------------------- Test 20 -----------------------------
|
||||
10:complete pair
|
||||
of lines
|
||||
16:complete pair
|
||||
of lines
|
||||
RC=0
|
||||
---------------------------- Test 21 -----------------------------
|
||||
24:four
|
||||
25-five
|
||||
@@ -115,6 +134,7 @@ of lines
|
||||
35-fifteen
|
||||
36-sixteen
|
||||
37-seventeen
|
||||
RC=0
|
||||
---------------------------- Test 22 -----------------------------
|
||||
21-one
|
||||
22-two
|
||||
@@ -125,6 +145,7 @@ of lines
|
||||
32-twelve
|
||||
33-thirteen
|
||||
34:fourteen
|
||||
RC=0
|
||||
---------------------------- Test 23 -----------------------------
|
||||
one
|
||||
two
|
||||
@@ -141,6 +162,7 @@ fourteen
|
||||
fifteen
|
||||
sixteen
|
||||
seventeen
|
||||
RC=0
|
||||
---------------------------- Test 24 -----------------------------
|
||||
four
|
||||
five
|
||||
@@ -162,6 +184,7 @@ twenty
|
||||
|
||||
This line contains pattern not on a line by itself.
|
||||
This is the last line of this file.
|
||||
RC=0
|
||||
---------------------------- Test 25 -----------------------------
|
||||
15-
|
||||
16-complete pair
|
||||
@@ -183,6 +206,7 @@ This is the last line of this file.
|
||||
32-twelve
|
||||
33-thirteen
|
||||
34:fourteen
|
||||
RC=0
|
||||
---------------------------- Test 26 -----------------------------
|
||||
|
||||
complete pair
|
||||
@@ -213,6 +237,7 @@ twenty
|
||||
|
||||
This line contains pattern not on a line by itself.
|
||||
This is the last line of this file.
|
||||
RC=0
|
||||
---------------------------- Test 27 -----------------------------
|
||||
four
|
||||
five
|
||||
@@ -234,6 +259,7 @@ twenty
|
||||
|
||||
This line contains pattern not on a line by itself.
|
||||
This is the last line of this file.
|
||||
RC=0
|
||||
---------------------------- Test 28 -----------------------------
|
||||
14-of lines all by themselves.
|
||||
15-
|
||||
@@ -256,6 +282,7 @@ This is the last line of this file.
|
||||
32-twelve
|
||||
33-thirteen
|
||||
34:fourteen
|
||||
RC=0
|
||||
---------------------------- Test 29 -----------------------------
|
||||
of lines all by themselves.
|
||||
|
||||
@@ -287,6 +314,7 @@ twenty
|
||||
|
||||
This line contains pattern not on a line by itself.
|
||||
This is the last line of this file.
|
||||
RC=0
|
||||
---------------------------- Test 30 -----------------------------
|
||||
./testdata/grepinput-4-features should be added at the end, because some of the tests involve the
|
||||
./testdata/grepinput-5-output of line numbers, and we don't want these to change.
|
||||
@@ -296,10 +324,10 @@ This is the last line of this file.
|
||||
./testdata/grepinput-9-
|
||||
./testdata/grepinput:10:This pattern is in lower case.
|
||||
--
|
||||
./testdata/grepinput-605-PUT NEW DATA ABOVE THIS LINE.
|
||||
./testdata/grepinput-606-=============================
|
||||
./testdata/grepinput-607-
|
||||
./testdata/grepinput:608:Check up on PATTERN near the end.
|
||||
./testdata/grepinput-607-PUT NEW DATA ABOVE THIS LINE.
|
||||
./testdata/grepinput-608-=============================
|
||||
./testdata/grepinput-609-
|
||||
./testdata/grepinput:610:Check up on PATTERN near the end.
|
||||
--
|
||||
./testdata/grepinputx-1-This is a second file of input for the pcregrep tests.
|
||||
./testdata/grepinputx-2-
|
||||
@@ -311,6 +339,7 @@ This is the last line of this file.
|
||||
./testdata/grepinputx-40-twenty
|
||||
./testdata/grepinputx-41-
|
||||
./testdata/grepinputx:42:This line contains pattern not on a line by itself.
|
||||
RC=0
|
||||
---------------------------- Test 31 -----------------------------
|
||||
./testdata/grepinput:7:PATTERN at the start of a line.
|
||||
./testdata/grepinput:8:In the middle of a line, PATTERN appears.
|
||||
@@ -320,8 +349,8 @@ This is the last line of this file.
|
||||
./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24K long.
|
||||
./testdata/grepinput-13-
|
||||
--
|
||||
./testdata/grepinput:608:Check up on PATTERN near the end.
|
||||
./testdata/grepinput-609-This is the last line of this file.
|
||||
./testdata/grepinput:610:Check up on PATTERN near the end.
|
||||
./testdata/grepinput-611-This is the last line of this file.
|
||||
--
|
||||
./testdata/grepinputx:3:Here is the pattern again.
|
||||
./testdata/grepinputx-4-
|
||||
@@ -332,94 +361,347 @@ This is the last line of this file.
|
||||
--
|
||||
./testdata/grepinputx:42:This line contains pattern not on a line by itself.
|
||||
./testdata/grepinputx-43-This is the last line of this file.
|
||||
RC=0
|
||||
---------------------------- Test 32 -----------------------------
|
||||
./testdata/grepinputx
|
||||
RC=0
|
||||
---------------------------- Test 33 -----------------------------
|
||||
pcregrep: Failed to open ./testdata/grepnonexist: No such file or directory
|
||||
RC=2
|
||||
---------------------------- Test 34 -----------------------------
|
||||
RC=2
|
||||
---------------------------- Test 35 -----------------------------
|
||||
./testdata/grepinput8
|
||||
./testdata/grepinputx
|
||||
RC=0
|
||||
---------------------------- Test 36 -----------------------------
|
||||
./testdata/grepinput8
|
||||
./testdata/grepinput3
|
||||
./testdata/grepinputx
|
||||
RC=0
|
||||
---------------------------- Test 37 -----------------------------
|
||||
aaaaa0
|
||||
aaaaa2
|
||||
010203040506
|
||||
RC=0
|
||||
======== STDERR ========
|
||||
pcregrep: pcre_exec() error -8 while matching this text:
|
||||
pcregrep: pcre_exec() gave error -8 while matching this text:
|
||||
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
pcregrep: error -8 means that a resource limit was exceeded
|
||||
pcregrep: check your regex for nested unlimited loops
|
||||
pcregrep: pcre_exec() error -8 while matching this text:
|
||||
|
||||
pcregrep: pcre_exec() gave error -8 while matching this text:
|
||||
|
||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
|
||||
pcregrep: Error -8, -21 or -27 means that a resource limit was exceeded.
|
||||
pcregrep: Check your regex for nested unlimited loops.
|
||||
---------------------------- Test 38 ------------------------------
|
||||
This line contains a binary zero here > | ||||