Parent Directory
|
Revision Log
|
Patch
revision 77 by nigel, Sat Feb 24 21:40:45 2007 UTC | revision 222 by ph10, Fri Aug 17 10:48:51 2007 UTC | |
---|---|---|
# | Line 1 | Line 1 |
pcregrep version 4.0 07-Jun-2005 using PCRE version 6.0 07-Jun-2005 | ||
1 | ---------------------------- Test 1 ------------------------------ | ---------------------------- Test 1 ------------------------------ |
2 | PATTERN at the start of a line. | PATTERN at the start of a line. |
3 | In the middle of a line, PATTERN appears. | In the middle of a line, PATTERN appears. |
# | Line 9 PATTERN at the start of a line. | Line 8 PATTERN at the start of a line. |
8 | 7:PATTERN at the start of a line. | 7:PATTERN at the start of a line. |
9 | 8:In the middle of a line, PATTERN appears. | 8:In the middle of a line, PATTERN appears. |
10 | 10:This pattern is in lower case. | 10:This pattern is in lower case. |
11 | 586:Check up on PATTERN near the end. | 608:Check up on PATTERN near the end. |
12 | ---------------------------- Test 4 ------------------------------ | ---------------------------- Test 4 ------------------------------ |
13 | 4 | 4 |
14 | ---------------------------- Test 5 ------------------------------ | ---------------------------- Test 5 ------------------------------ |
15 | ./testdata/grepinput:7:PATTERN at the start of a line. | ./testdata/grepinput:7:PATTERN at the start of a line. |
16 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
17 | ./testdata/grepinput:10:This pattern is in lower case. | ./testdata/grepinput:10:This pattern is in lower case. |
18 | ./testdata/grepinput:586:Check up on PATTERN near the end. | ./testdata/grepinput:608:Check up on PATTERN near the end. |
-- | ||
19 | ./testdata/grepinputx:3:Here is the pattern again. | ./testdata/grepinputx:3:Here is the pattern again. |
20 | ./testdata/grepinputx:5:Pattern | ./testdata/grepinputx:5:Pattern |
21 | ---------------------------- Test 6 ------------------------------ | ---------------------------- Test 6 ------------------------------ |
22 | 7:PATTERN at the start of a line. | 7:PATTERN at the start of a line. |
23 | 8:In the middle of a line, PATTERN appears. | 8:In the middle of a line, PATTERN appears. |
24 | 10:This pattern is in lower case. | 10:This pattern is in lower case. |
25 | 586:Check up on PATTERN near the end. | 608:Check up on PATTERN near the end. |
-- | ||
26 | 3:Here is the pattern again. | 3:Here is the pattern again. |
27 | 5:Pattern | 5:Pattern |
28 | ---------------------------- Test 7 ------------------------------ | ---------------------------- Test 7 ------------------------------ |
# | Line 87 That time it was on a line by itself. | Line 84 That time it was on a line by itself. |
84 | ---------------------------- Test 14 ----------------------------- | ---------------------------- Test 14 ----------------------------- |
85 | ./testdata/grepinputx:To pat or not to pat, that is the question. | ./testdata/grepinputx:To pat or not to pat, that is the question. |
86 | ---------------------------- Test 15 ----------------------------- | ---------------------------- Test 15 ----------------------------- |
87 | pcregrep: Error in regex at offset 4: nothing to repeat | pcregrep: Error in command-line regex at offset 4: nothing to repeat |
88 | ---------------------------- Test 16 ----------------------------- | ---------------------------- Test 16 ----------------------------- |
89 | pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory | pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory |
90 | ---------------------------- Test 17 ----------------------------- | ---------------------------- Test 17 ----------------------------- |
# | Line 116 of lines | Line 113 of lines |
113 | 36-sixteen | 36-sixteen |
114 | 37-seventeen | 37-seventeen |
115 | ---------------------------- Test 22 ----------------------------- | ---------------------------- Test 22 ----------------------------- |
116 | 20-one | 21-one |
117 | 21-two | 22-two |
118 | 22-three | 23-three |
119 | 24:four | 24:four |
120 | -- | -- |
121 | 30-eleven | 31-eleven |
122 | 31-twelve | 32-twelve |
123 | 32-thirteen | 33-thirteen |
124 | 34:fourteen | 34:fourteen |
125 | ---------------------------- Test 23 ----------------------------- | ---------------------------- Test 23 ----------------------------- |
126 | one | one |
# | Line 162 twenty | Line 159 twenty |
159 | ||
160 | This is the last line of this file. | This is the last line of this file. |
161 | ---------------------------- Test 25 ----------------------------- | ---------------------------- Test 25 ----------------------------- |
162 | 14- | 15- |
163 | 15-complete pair | 16-complete pair |
164 | 16-of lines | 17-of lines |
165 | 17- | 18- |
166 | 18-And there they were again, to check line numbers. | 19-And there they were again, to check line numbers. |
167 | 19- | 20- |
168 | 20-one | 21-one |
169 | 21-two | 22-two |
170 | 22-three | 23-three |
171 | 24:four | 24:four |
172 | 25-five | 25-five |
173 | 26-six | 26-six |
# | Line 232 twenty | Line 229 twenty |
229 | ||
230 | This is the last line of this file. | This is the last line of this file. |
231 | ---------------------------- Test 28 ----------------------------- | ---------------------------- Test 28 ----------------------------- |
232 | 13-of lines all by themselves. | 14-of lines all by themselves. |
233 | 14- | 15- |
234 | 15-complete pair | 16-complete pair |
235 | 16-of lines | 17-of lines |
236 | 17- | 18- |
237 | 18-And there they were again, to check line numbers. | 19-And there they were again, to check line numbers. |
238 | 19- | 20- |
239 | 20-one | 21-one |
240 | 21-two | 22-two |
241 | 22-three | 23-three |
242 | 24:four | 24:four |
243 | 25-five | 25-five |
244 | 26-six | 26-six |
# | Line 284 twenty | Line 281 twenty |
281 | ||
282 | This is the last line of this file. | This is the last line of this file. |
283 | ---------------------------- Test 30 ----------------------------- | ---------------------------- Test 30 ----------------------------- |
284 | ./testdata/grepinput-3-features should be added at the end, because some of the tests involve the | ./testdata/grepinput-4-features should be added at the end, because some of the tests involve the |
285 | ./testdata/grepinput-4-output of line numbers, and we don't want these to change. | ./testdata/grepinput-5-output of line numbers, and we don't want these to change. |
286 | ./testdata/grepinput-5- | ./testdata/grepinput-6- |
287 | ./testdata/grepinput:7:PATTERN at the start of a line. | ./testdata/grepinput:7:PATTERN at the start of a line. |
288 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
289 | ./testdata/grepinput-9- | ./testdata/grepinput-9- |
290 | ./testdata/grepinput:10:This pattern is in lower case. | ./testdata/grepinput:10:This pattern is in lower case. |
291 | -- | -- |
292 | ./testdata/grepinput-582-brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. | ./testdata/grepinput-605-PUT NEW DATA ABOVE THIS LINE. |
293 | ./testdata/grepinput-583-------------------------------------------------------------------------------- | ./testdata/grepinput-606-============================= |
294 | ./testdata/grepinput-584- | ./testdata/grepinput-607- |
295 | ./testdata/grepinput:586:Check up on PATTERN near the end. | ./testdata/grepinput:608:Check up on PATTERN near the end. |
296 | -- | -- |
297 | ./testdata/grepinputx-1-This is a second file of input for the pcregrep tests. | ./testdata/grepinputx-1-This is a second file of input for the pcregrep tests. |
298 | ./testdata/grepinputx-2- | ./testdata/grepinputx-2- |
# | Line 311 This is the last line of this file. | Line 308 This is the last line of this file. |
308 | ./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24K long. | ./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24K long. |
309 | ./testdata/grepinput-13- | ./testdata/grepinput-13- |
310 | -- | -- |
311 | ./testdata/grepinput:586:Check up on PATTERN near the end. | ./testdata/grepinput:608:Check up on PATTERN near the end. |
312 | ./testdata/grepinput-587- | ./testdata/grepinput-609-This is the last line of this file. |
./testdata/grepinput-588-This is the last line of this file. | ||
313 | -- | -- |
314 | ./testdata/grepinputx:3:Here is the pattern again. | ./testdata/grepinputx:3:Here is the pattern again. |
315 | ./testdata/grepinputx-4- | ./testdata/grepinputx-4- |
# | Line 332 RC=2 | Line 328 RC=2 |
328 | ./testdata/grepinputx | ./testdata/grepinputx |
329 | RC=0 | RC=0 |
330 | ---------------------------- Test 36 ----------------------------- | ---------------------------- Test 36 ----------------------------- |
331 | ./testdata/grepinput8 | |
332 | ./testdata/grepinputx | ./testdata/grepinputx |
333 | RC=0 | RC=0 |
334 | ---------------------------- Test 37 ----------------------------- | |
335 | aaaaa0 | |
336 | aaaaa2 | |
337 | RC=0 | |
338 | ======== STDERR ======== | |
339 | pcregrep: pcre_exec() error -8 while matching this line: | |
340 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
341 | pcregrep: error -8 means that a resource limit was exceeded | |
342 | pcregrep: check your regex for nested unlimited loops | |
343 | pcregrep: pcre_exec() error -8 while matching this line: | |
344 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
345 | ---------------------------- Test 38 ------------------------------ | |
346 | This line contains a binary zero here > |