Parent Directory
|
Revision Log
|
Patch
| revision 81 by nigel, Sat Feb 24 21:40:59 2007 UTC | revision 96 by nigel, Fri Mar 2 13:10:43 2007 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| pcregrep version 4.0 07-Jun-2005 using PCRE version 6.2 01-Aug-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 78 RC=1 | Line 75 RC=1 |
| 75 | 39:nineteen | 39:nineteen |
| 76 | 40:twenty | 40:twenty |
| 77 | 41: | 41: |
| 78 | 42:This is the last line of this file. | 42:Here follows some CR/LF/CRLF test data. |
| 79 | 43: | |
| 80 | 44:abc def | |
| 81 | 45:ghi | |
| 82 | 46:jkl | |
| 83 | 47: | |
| 84 | 48:This is the last line of this file. | |
| 85 | ---------------------------- Test 12 ----------------------------- | ---------------------------- Test 12 ----------------------------- |
| 86 | Pattern | Pattern |
| 87 | ---------------------------- Test 13 ----------------------------- | ---------------------------- Test 13 ----------------------------- |
| # | Line 87 That time it was on a line by itself. | Line 90 That time it was on a line by itself. |
| 90 | ---------------------------- Test 14 ----------------------------- | ---------------------------- Test 14 ----------------------------- |
| 91 | ./testdata/grepinputx:To pat or not to pat, that is the question. | ./testdata/grepinputx:To pat or not to pat, that is the question. |
| 92 | ---------------------------- Test 15 ----------------------------- | ---------------------------- Test 15 ----------------------------- |
| 93 | pcregrep: Error in regex at offset 4: nothing to repeat | pcregrep: Error in command-line regex at offset 4: nothing to repeat |
| 94 | ---------------------------- Test 16 ----------------------------- | ---------------------------- Test 16 ----------------------------- |
| 95 | pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory | pcregrep: Failed to open ./testdata/nonexistfile: No such file or directory |
| 96 | ---------------------------- Test 17 ----------------------------- | ---------------------------- Test 17 ----------------------------- |
| # | Line 116 of lines | Line 119 of lines |
| 119 | 36-sixteen | 36-sixteen |
| 120 | 37-seventeen | 37-seventeen |
| 121 | ---------------------------- Test 22 ----------------------------- | ---------------------------- Test 22 ----------------------------- |
| 122 | 20-one | 21-one |
| 123 | 21-two | 22-two |
| 124 | 22-three | 23-three |
| 125 | 24:four | 24:four |
| 126 | -- | -- |
| 127 | 30-eleven | 31-eleven |
| 128 | 31-twelve | 32-twelve |
| 129 | 32-thirteen | 33-thirteen |
| 130 | 34:fourteen | 34:fourteen |
| 131 | ---------------------------- Test 23 ----------------------------- | ---------------------------- Test 23 ----------------------------- |
| 132 | one | one |
| # | Line 160 eighteen | Line 163 eighteen |
| 163 | nineteen | nineteen |
| 164 | twenty | twenty |
| 165 | ||
| 166 | This is the last line of this file. | Here follows some CR/LF/CRLF test data. |
| 167 | ||
| 168 | ---------------------------- Test 25 ----------------------------- | ---------------------------- Test 25 ----------------------------- |
| 169 | 14- | 15- |
| 170 | 15-complete pair | 16-complete pair |
| 171 | 16-of lines | 17-of lines |
| 172 | 17- | 18- |
| 173 | 18-And there they were again, to check line numbers. | 19-And there they were again, to check line numbers. |
| 174 | 19- | 20- |
| 175 | 20-one | 21-one |
| 176 | 21-two | 22-two |
| 177 | 22-three | 23-three |
| 178 | 24:four | 24:four |
| 179 | 25-five | 25-five |
| 180 | 26-six | 26-six |
| # | Line 210 eighteen | Line 214 eighteen |
| 214 | nineteen | nineteen |
| 215 | twenty | twenty |
| 216 | ||
| 217 | This is the last line of this file. | Here follows some CR/LF/CRLF test data. |
| 218 | ||
| 219 | ---------------------------- Test 27 ----------------------------- | ---------------------------- Test 27 ----------------------------- |
| 220 | four | four |
| 221 | five | five |
| # | Line 230 eighteen | Line 235 eighteen |
| 235 | nineteen | nineteen |
| 236 | twenty | twenty |
| 237 | ||
| 238 | This is the last line of this file. | Here follows some CR/LF/CRLF test data. |
| 239 | ||
| 240 | abc def | |
| 241 | ---------------------------- Test 28 ----------------------------- | ---------------------------- Test 28 ----------------------------- |
| 242 | 13-of lines all by themselves. | 14-of lines all by themselves. |
| 243 | 14- | 15- |
| 244 | 15-complete pair | 16-complete pair |
| 245 | 16-of lines | 17-of lines |
| 246 | 17- | 18- |
| 247 | 18-And there they were again, to check line numbers. | 19-And there they were again, to check line numbers. |
| 248 | 19- | 20- |
| 249 | 20-one | 21-one |
| 250 | 21-two | 22-two |
| 251 | 22-three | 23-three |
| 252 | 24:four | 24:four |
| 253 | 25-five | 25-five |
| 254 | 26-six | 26-six |
| # | Line 282 eighteen | Line 289 eighteen |
| 289 | nineteen | nineteen |
| 290 | twenty | twenty |
| 291 | ||
| 292 | This is the last line of this file. | Here follows some CR/LF/CRLF test data. |
| 293 | ||
| 294 | abc def | |
| 295 | ghi | |
| 296 | jkl | |
| 297 | ---------------------------- Test 30 ----------------------------- | ---------------------------- Test 30 ----------------------------- |
| 298 | ./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 |
| 299 | ./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. |
| 300 | ./testdata/grepinput-5- | ./testdata/grepinput-6- |
| 301 | ./testdata/grepinput:7:PATTERN at the start of a line. | ./testdata/grepinput:7:PATTERN at the start of a line. |
| 302 | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. | ./testdata/grepinput:8:In the middle of a line, PATTERN appears. |
| 303 | ./testdata/grepinput-9- | ./testdata/grepinput-9- |
| 304 | ./testdata/grepinput:10:This pattern is in lower case. | ./testdata/grepinput:10:This pattern is in lower case. |
| 305 | -- | -- |
| 306 | ./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. |
| 307 | ./testdata/grepinput-583-------------------------------------------------------------------------------- | ./testdata/grepinput-606-============================= |
| 308 | ./testdata/grepinput-584- | ./testdata/grepinput-607- |
| 309 | ./testdata/grepinput:586:Check up on PATTERN near the end. | ./testdata/grepinput:608:Check up on PATTERN near the end. |
| 310 | -- | -- |
| 311 | ./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. |
| 312 | ./testdata/grepinputx-2- | ./testdata/grepinputx-2- |
| # | Line 311 This is the last line of this file. | Line 322 This is the last line of this file. |
| 322 | ./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. |
| 323 | ./testdata/grepinput-13- | ./testdata/grepinput-13- |
| 324 | -- | -- |
| 325 | ./testdata/grepinput:586:Check up on PATTERN near the end. | ./testdata/grepinput:608:Check up on PATTERN near the end. |
| 326 | ./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. | ||
| 327 | -- | -- |
| 328 | ./testdata/grepinputx:3:Here is the pattern again. | ./testdata/grepinputx:3:Here is the pattern again. |
| 329 | ./testdata/grepinputx-4- | ./testdata/grepinputx-4- |
| # | Line 333 RC=2 | Line 343 RC=2 |
| 343 | RC=0 | RC=0 |
| 344 | ---------------------------- Test 36 ----------------------------- | ---------------------------- Test 36 ----------------------------- |
| 345 | ./testdata/grepinputx | ./testdata/grepinputx |
| 346 | ./testdata/grepinput8 | |
| 347 | RC=0 | RC=0 |
| 348 | ---------------------------- Test 37 ----------------------------- | |
| 349 | aaaaa0 | |
| 350 | aaaaa2 | |
| 351 | RC=0 | |
| 352 | ======== STDERR ======== | |
| 353 | pcregrep: pcre_exec() error -8 while matching this line: | |
| 354 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
| 355 | pcregrep: error -8 means that a resource limit was exceeded | |
| 356 | pcregrep: check your regex for nested unlimited loops | |
| 357 | pcregrep: pcre_exec() error -8 while matching this line: | |
| 358 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | |
| 359 | ---------------------------- Test 38 ------------------------------ | |
| 360 | This line contains a binary zero here > |