blob: 66af4cf96fca43aa9b69b5bbde4bed9131e38278 [file] [log] [blame]
Nick Kralevichf73ff172014-09-27 12:41:49 -07001---------------------------- Test 1 ------------------------------
2PATTERN at the start of a line.
3In the middle of a line, PATTERN appears.
4Check up on PATTERN near the end.
5RC=0
6---------------------------- Test 2 ------------------------------
7PATTERN at the start of a line.
8RC=0
9---------------------------- Test 3 ------------------------------
107:PATTERN at the start of a line.
118:In the middle of a line, PATTERN appears.
1210:This pattern is in lower case.
Janis Danisevskis8b979b22016-08-15 16:09:16 +010013623:Check up on PATTERN near the end.
Nick Kralevichf73ff172014-09-27 12:41:49 -070014RC=0
15---------------------------- Test 4 ------------------------------
164
17RC=0
18---------------------------- Test 5 ------------------------------
19./testdata/grepinput:7:PATTERN at the start of a line.
20./testdata/grepinput:8:In the middle of a line, PATTERN appears.
21./testdata/grepinput:10:This pattern is in lower case.
Janis Danisevskis8b979b22016-08-15 16:09:16 +010022./testdata/grepinput:623:Check up on PATTERN near the end.
Nick Kralevichf73ff172014-09-27 12:41:49 -070023./testdata/grepinputx:3:Here is the pattern again.
24./testdata/grepinputx:5:Pattern
25./testdata/grepinputx:42:This line contains pattern not on a line by itself.
26RC=0
27---------------------------- Test 6 ------------------------------
287:PATTERN at the start of a line.
298:In the middle of a line, PATTERN appears.
3010:This pattern is in lower case.
Janis Danisevskis8b979b22016-08-15 16:09:16 +010031623:Check up on PATTERN near the end.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700323:Here is the pattern again.
335:Pattern
3442:This line contains pattern not on a line by itself.
35RC=0
36---------------------------- Test 7 ------------------------------
37./testdata/grepinput
38./testdata/grepinputx
39RC=0
40---------------------------- Test 8 ------------------------------
41./testdata/grepinput
42RC=0
43---------------------------- Test 9 ------------------------------
44RC=0
45---------------------------- Test 10 -----------------------------
46RC=1
47---------------------------- Test 11 -----------------------------
481:This is a second file of input for the pcregrep tests.
492:
504:
515:Pattern
526:That time it was on a line by itself.
537:
548:To pat or not to pat, that is the question.
559:
5610:complete pair
5711:of lines
5812:
5913:That was a complete pair
6014:of lines all by themselves.
6115:
6216:complete pair
6317:of lines
6418:
6519:And there they were again, to check line numbers.
6620:
6721:one
6822:two
6923:three
7024:four
7125:five
7226:six
7327:seven
7428:eight
7529:nine
7630:ten
7731:eleven
7832:twelve
7933:thirteen
8034:fourteen
8135:fifteen
8236:sixteen
8337:seventeen
8438:eighteen
8539:nineteen
8640:twenty
8741:
8843:This is the last line of this file.
89RC=0
90---------------------------- Test 12 -----------------------------
91Pattern
92RC=0
93---------------------------- Test 13 -----------------------------
94Here is the pattern again.
95That time it was on a line by itself.
96seventeen
97This line contains pattern not on a line by itself.
98RC=0
99---------------------------- Test 14 -----------------------------
100./testdata/grepinputx:To pat or not to pat, that is the question.
101RC=0
102---------------------------- Test 15 -----------------------------
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100103pcre2grep: Error in command-line regex at offset 4: quantifier does not follow a repeatable item
Nick Kralevichf73ff172014-09-27 12:41:49 -0700104RC=2
105---------------------------- Test 16 -----------------------------
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100106pcre2grep: Failed to open ./testdata/nonexistfile: No such file or directory
Nick Kralevichf73ff172014-09-27 12:41:49 -0700107RC=2
108---------------------------- Test 17 -----------------------------
109features should be added at the end, because some of the tests involve the
110output of line numbers, and we don't want these to change.
111RC=0
112---------------------------- Test 18 -----------------------------
1134:features should be added at the end, because some of the tests involve the
114output of line numbers, and we don't want these to change.
115583:brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
116-------------------------------------------------------------------------------
117RC=0
118---------------------------- Test 19 -----------------------------
119Pattern
120RC=0
121---------------------------- Test 20 -----------------------------
12210:complete pair
123of lines
12416:complete pair
125of lines
126RC=0
127---------------------------- Test 21 -----------------------------
12824:four
12925-five
13026-six
13127-seven
132--
13334:fourteen
13435-fifteen
13536-sixteen
13637-seventeen
137RC=0
138---------------------------- Test 22 -----------------------------
13921-one
14022-two
14123-three
14224:four
143--
14431-eleven
14532-twelve
14633-thirteen
14734:fourteen
148RC=0
149---------------------------- Test 23 -----------------------------
150one
151two
152three
153four
154five
155six
156seven
157--
158eleven
159twelve
160thirteen
161fourteen
162fifteen
163sixteen
164seventeen
165RC=0
166---------------------------- Test 24 -----------------------------
167four
168five
169six
170seven
171eight
172nine
173ten
174eleven
175twelve
176thirteen
177fourteen
178fifteen
179sixteen
180seventeen
181eighteen
182nineteen
183twenty
184
185This line contains pattern not on a line by itself.
186This is the last line of this file.
187RC=0
188---------------------------- Test 25 -----------------------------
18915-
19016-complete pair
19117-of lines
19218-
19319-And there they were again, to check line numbers.
19420-
19521-one
19622-two
19723-three
19824:four
19925-five
20026-six
20127-seven
20228-eight
20329-nine
20430-ten
20531-eleven
20632-twelve
20733-thirteen
20834:fourteen
209RC=0
210---------------------------- Test 26 -----------------------------
211
212complete pair
213of lines
214
215And there they were again, to check line numbers.
216
217one
218two
219three
220four
221five
222six
223seven
224eight
225nine
226ten
227eleven
228twelve
229thirteen
230fourteen
231fifteen
232sixteen
233seventeen
234eighteen
235nineteen
236twenty
237
238This line contains pattern not on a line by itself.
239This is the last line of this file.
240RC=0
241---------------------------- Test 27 -----------------------------
242four
243five
244six
245seven
246eight
247nine
248ten
249eleven
250twelve
251thirteen
252fourteen
253fifteen
254sixteen
255seventeen
256eighteen
257nineteen
258twenty
259
260This line contains pattern not on a line by itself.
261This is the last line of this file.
262RC=0
263---------------------------- Test 28 -----------------------------
26414-of lines all by themselves.
26515-
26616-complete pair
26717-of lines
26818-
26919-And there they were again, to check line numbers.
27020-
27121-one
27222-two
27323-three
27424:four
27525-five
27626-six
27727-seven
27828-eight
27929-nine
28030-ten
28131-eleven
28232-twelve
28333-thirteen
28434:fourteen
285RC=0
286---------------------------- Test 29 -----------------------------
287of lines all by themselves.
288
289complete pair
290of lines
291
292And there they were again, to check line numbers.
293
294one
295two
296three
297four
298five
299six
300seven
301eight
302nine
303ten
304eleven
305twelve
306thirteen
307fourteen
308fifteen
309sixteen
310seventeen
311eighteen
312nineteen
313twenty
314
315This line contains pattern not on a line by itself.
316This is the last line of this file.
317RC=0
318---------------------------- Test 30 -----------------------------
319./testdata/grepinput-4-features should be added at the end, because some of the tests involve the
320./testdata/grepinput-5-output of line numbers, and we don't want these to change.
321./testdata/grepinput-6-
322./testdata/grepinput:7:PATTERN at the start of a line.
323./testdata/grepinput:8:In the middle of a line, PATTERN appears.
324./testdata/grepinput-9-
325./testdata/grepinput:10:This pattern is in lower case.
326--
Janis Danisevskis8b979b22016-08-15 16:09:16 +0100327./testdata/grepinput-620-PUT NEW DATA ABOVE THIS LINE.
328./testdata/grepinput-621-=============================
329./testdata/grepinput-622-
330./testdata/grepinput:623:Check up on PATTERN near the end.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700331--
332./testdata/grepinputx-1-This is a second file of input for the pcregrep tests.
333./testdata/grepinputx-2-
334./testdata/grepinputx:3:Here is the pattern again.
335./testdata/grepinputx-4-
336./testdata/grepinputx:5:Pattern
337--
338./testdata/grepinputx-39-nineteen
339./testdata/grepinputx-40-twenty
340./testdata/grepinputx-41-
341./testdata/grepinputx:42:This line contains pattern not on a line by itself.
342RC=0
343---------------------------- Test 31 -----------------------------
344./testdata/grepinput:7:PATTERN at the start of a line.
345./testdata/grepinput:8:In the middle of a line, PATTERN appears.
346./testdata/grepinput-9-
347./testdata/grepinput:10:This pattern is in lower case.
348./testdata/grepinput-11-
Elliott Hughes653c2102019-01-09 15:41:36 -0800349./testdata/grepinput-12-Here follows a whole lot of stuff that makes the file over 24KiB long.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700350./testdata/grepinput-13-
351--
Janis Danisevskis8b979b22016-08-15 16:09:16 +0100352./testdata/grepinput:623:Check up on PATTERN near the end.
353./testdata/grepinput-624-This is the last line of this file.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700354--
355./testdata/grepinputx:3:Here is the pattern again.
356./testdata/grepinputx-4-
357./testdata/grepinputx:5:Pattern
358./testdata/grepinputx-6-That time it was on a line by itself.
359./testdata/grepinputx-7-
360./testdata/grepinputx-8-To pat or not to pat, that is the question.
361--
362./testdata/grepinputx:42:This line contains pattern not on a line by itself.
363./testdata/grepinputx-43-This is the last line of this file.
364RC=0
365---------------------------- Test 32 -----------------------------
366./testdata/grepinputx
367RC=0
368---------------------------- Test 33 -----------------------------
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100369pcre2grep: Failed to open ./testdata/grepnonexist: No such file or directory
Nick Kralevichf73ff172014-09-27 12:41:49 -0700370RC=2
371---------------------------- Test 34 -----------------------------
372RC=2
373---------------------------- Test 35 -----------------------------
374./testdata/grepinput8
375./testdata/grepinputx
376RC=0
377---------------------------- Test 36 -----------------------------
378./testdata/grepinput3
379./testdata/grepinputx
380RC=0
381---------------------------- Test 37 -----------------------------
Elliott Hughes653c2102019-01-09 15:41:36 -080038224KiB long so that it needs more than a single read() call to process it. New
Nick Kralevichf73ff172014-09-27 12:41:49 -0700383aaaaa0
384aaaaa2
385010203040506
386RC=0
387======== STDERR ========
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100388pcre2grep: pcre2_match() gave error -47 while matching this text:
Nick Kralevichf73ff172014-09-27 12:41:49 -0700389
390aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
391
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100392pcre2grep: pcre2_match() gave error -47 while matching this text:
Nick Kralevichf73ff172014-09-27 12:41:49 -0700393
394aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
395
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700396pcre2grep: Error -46, -47, -53 or -63 means that a resource limit was exceeded.
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100397pcre2grep: Check your regex for nested unlimited loops.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700398---------------------------- Test 38 ------------------------------
399This line contains a binary zero here >�< for testing.
400RC=0
401---------------------------- Test 39 ------------------------------
402This is a line before the binary zero.
403This line contains a binary zero here >�< for testing.
404RC=0
405---------------------------- Test 40 ------------------------------
406This line contains a binary zero here >�< for testing.
407This is a line after the binary zero.
408RC=0
409---------------------------- Test 41 ------------------------------
410before the binary zero
411after the binary zero
412RC=0
413---------------------------- Test 42 ------------------------------
414./testdata/grepinput:595:before the binary zero
415./testdata/grepinput:597:after the binary zero
416RC=0
417---------------------------- Test 43 ------------------------------
418595:before
419595:zero
420596:zero
421597:after
422597:zero
423RC=0
424---------------------------- Test 44 ------------------------------
425595:before
426595:zero
427596:zero
428597:zero
429RC=0
430---------------------------- Test 45 ------------------------------
43110:pattern
432595:binary
433596:binary
434597:binary
435RC=0
436---------------------------- Test 46 ------------------------------
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100437pcre2grep: Error in 2nd command-line regex at offset 9: missing closing parenthesis
Nick Kralevichf73ff172014-09-27 12:41:49 -0700438RC=2
439---------------------------- Test 47 ------------------------------
440AB.VE
441RC=0
442---------------------------- Test 48 ------------------------------
443ABOVE the elephant
444AB.VE
445AB.VE the turtle
446RC=0
447---------------------------- Test 49 ------------------------------
448ABOVE the elephant
449AB.VE
450AB.VE the turtle
451PUT NEW DATA ABOVE THIS LINE.
452RC=0
453---------------------------- Test 50 ------------------------------
454RC=1
455---------------------------- Test 51 ------------------------------
456over the lazy dog.
457This time it jumps and jumps and jumps.
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700458This line contains \E and (regex) *meta* [characters].
459The word is cat in this line
460The caterpillar sat on the mat
461The snowcat is not an animal
462A buried feline in the syndicate
Nick Kralevichf73ff172014-09-27 12:41:49 -0700463RC=0
464---------------------------- Test 52 ------------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700465fox jumps
466This time it jumps and jumps and jumps.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700467RC=0
468---------------------------- Test 53 ------------------------------
Elliott Hughes653c2102019-01-09 15:41:36 -080046936976,6
47036994,4
47137028,4
47237070,5
47337087,4
Nick Kralevichf73ff172014-09-27 12:41:49 -0700474RC=0
475---------------------------- Test 54 ------------------------------
476595:15,6
477595:33,4
478596:28,4
479597:15,5
480597:32,4
481RC=0
482---------------------------- Test 55 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700483Here is the pattern again.
484That time it was on a line by itself.
485This line contains pattern not on a line by itself.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700486RC=0
487---------------------------- Test 56 -----------------------------
488./testdata/grepinput:456
489./testdata/grepinput3:0
490./testdata/grepinput8:0
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700491./testdata/grepinputM:0
Nick Kralevichf73ff172014-09-27 12:41:49 -0700492./testdata/grepinputv:1
493./testdata/grepinputx:0
494RC=0
495---------------------------- Test 57 -----------------------------
496./testdata/grepinput:456
497./testdata/grepinputv:1
498RC=0
499---------------------------- Test 58 -----------------------------
500PATTERN at the start of a line.
501In the middle of a line, PATTERN appears.
502Check up on PATTERN near the end.
503RC=0
504---------------------------- Test 59 -----------------------------
505PATTERN at the start of a line.
506In the middle of a line, PATTERN appears.
507Check up on PATTERN near the end.
508RC=0
509---------------------------- Test 60 -----------------------------
510PATTERN at the start of a line.
511In the middle of a line, PATTERN appears.
512Check up on PATTERN near the end.
513RC=0
514---------------------------- Test 61 -----------------------------
515PATTERN at the start of a line.
516In the middle of a line, PATTERN appears.
517Check up on PATTERN near the end.
518RC=0
519---------------------------- Test 62 -----------------------------
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100520pcre2grep: pcre2_match() gave error -47 while matching text that starts:
Nick Kralevichf73ff172014-09-27 12:41:49 -0700521
522This is a file of miscellaneous text that is used as test data for checking
Elliott Hughes653c2102019-01-09 15:41:36 -0800523that the pcregrep command is working correctly. The file must be more than
52424KiB long so that it needs more than a single re
Nick Kralevichf73ff172014-09-27 12:41:49 -0700525
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700526pcre2grep: Error -46, -47, -53 or -63 means that a resource limit was exceeded.
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100527pcre2grep: Check your regex for nested unlimited loops.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700528RC=1
529---------------------------- Test 63 -----------------------------
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100530pcre2grep: pcre2_match() gave error -53 while matching text that starts:
Nick Kralevichf73ff172014-09-27 12:41:49 -0700531
532This is a file of miscellaneous text that is used as test data for checking
Elliott Hughes653c2102019-01-09 15:41:36 -0800533that the pcregrep command is working correctly. The file must be more than
53424KiB long so that it needs more than a single re
Nick Kralevichf73ff172014-09-27 12:41:49 -0700535
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700536pcre2grep: Error -46, -47, -53 or -63 means that a resource limit was exceeded.
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100537pcre2grep: Check your regex for nested unlimited loops.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700538RC=1
539---------------------------- Test 64 ------------------------------
540appears
541RC=0
542---------------------------- Test 65 ------------------------------
543pear
544RC=0
545---------------------------- Test 66 ------------------------------
546RC=0
547---------------------------- Test 67 ------------------------------
548RC=0
549---------------------------- Test 68 ------------------------------
550pear
551RC=0
552---------------------------- Test 69 -----------------------------
5531:This is a second file of input for the pcregrep tests.
5542:
5554:
5565:Pattern
5576:That time it was on a line by itself.
5587:
5598:To pat or not to pat, that is the question.
5609:
56110:complete pair
56211:of lines
56312:
56413:That was a complete pair
56514:of lines all by themselves.
56615:
56716:complete pair
56817:of lines
56918:
57019:And there they were again, to check line numbers.
57120:
57221:one
57322:two
57423:three
57524:four
57625:five
57726:six
57827:seven
57928:eight
58029:nine
58130:ten
58231:eleven
58332:twelve
58433:thirteen
58534:fourteen
58635:fifteen
58736:sixteen
58837:seventeen
58938:eighteen
59039:nineteen
59140:twenty
59241:
59343:This is the last line of this file.
594RC=0
595---------------------------- Test 70 -----------------------------
596triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
597
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700598triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
Nick Kralevichf73ff172014-09-27 12:41:49 -0700599
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700600triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
Nick Kralevichf73ff172014-09-27 12:41:49 -0700601
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700602triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
Nick Kralevichf73ff172014-09-27 12:41:49 -0700603
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700604RC=0
6051:triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
606
6076:triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
608
6098:triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
610
61113:triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
612
613RC=0
614triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
615
616triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
617
618triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
619
620triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
621
622RC=0
6231:triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
624
6256:triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
626
6278:triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
628
62913:triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
630
631RC=0
Nick Kralevichf73ff172014-09-27 12:41:49 -0700632---------------------------- Test 71 -----------------------------
63301
634RC=0
635---------------------------- Test 72 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700636010203040506
Nick Kralevichf73ff172014-09-27 12:41:49 -0700637RC=0
638---------------------------- Test 73 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -070063901
Nick Kralevichf73ff172014-09-27 12:41:49 -0700640RC=0
641---------------------------- Test 74 -----------------------------
64201
64302
644RC=0
645---------------------------- Test 75 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700646010203040506
Nick Kralevichf73ff172014-09-27 12:41:49 -0700647RC=0
648---------------------------- Test 76 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -070064901
65002
Nick Kralevichf73ff172014-09-27 12:41:49 -0700651RC=0
652---------------------------- Test 77 -----------------------------
65301
65403
655RC=0
656---------------------------- Test 78 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700657010203040506
Nick Kralevichf73ff172014-09-27 12:41:49 -0700658RC=0
659---------------------------- Test 79 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -070066001
66103
Nick Kralevichf73ff172014-09-27 12:41:49 -0700662RC=0
663---------------------------- Test 80 -----------------------------
66401
665RC=0
666---------------------------- Test 81 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700667010203040506
Nick Kralevichf73ff172014-09-27 12:41:49 -0700668RC=0
669---------------------------- Test 82 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -070067001
Nick Kralevichf73ff172014-09-27 12:41:49 -0700671RC=0
672---------------------------- Test 83 -----------------------------
Janis Danisevskis53e448c2016-03-31 13:35:25 +0100673pcre2grep: line 4 of file ./testdata/grepinput3 is too long for the internal buffer
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700674pcre2grep: the maximum buffer size is 100
675pcre2grep: use the --max-buffer-size option to change it
Nick Kralevichf73ff172014-09-27 12:41:49 -0700676RC=2
677---------------------------- Test 84 -----------------------------
678testdata/grepinputv:fox jumps
679testdata/grepinputx:complete pair
680testdata/grepinputx:That was a complete pair
681testdata/grepinputx:complete pair
682testdata/grepinput3:triple: t7_txt s1_tag s_txt p_tag p_txt o_tag o_txt
683RC=0
684---------------------------- Test 85 -----------------------------
685./testdata/grepinput3:Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
686RC=0
687---------------------------- Test 86 -----------------------------
688Binary file ./testdata/grepbinary matches
689RC=0
690---------------------------- Test 87 -----------------------------
691RC=1
692---------------------------- Test 88 -----------------------------
693Binary file ./testdata/grepbinary matches
694RC=0
695---------------------------- Test 89 -----------------------------
696RC=1
697---------------------------- Test 90 -----------------------------
698RC=1
699---------------------------- Test 91 -----------------------------
700The quick brown f�x jumps over the lazy dog.
701RC=0
702---------------------------- Test 92 -----------------------------
703The quick brown f�x jumps over the lazy dog.
704RC=0
705---------------------------- Test 93 -----------------------------
706The quick brown f�x jumps over the lazy dog.
707RC=0
708---------------------------- Test 94 -----------------------------
709./testdata/grepinput8
710./testdata/grepinputx
711RC=0
712---------------------------- Test 95 -----------------------------
713testdata/grepinputx:complete pair
714testdata/grepinputx:That was a complete pair
715testdata/grepinputx:complete pair
716RC=0
717---------------------------- Test 96 -----------------------------
718./testdata/grepinput3
719./testdata/grepinput8
720./testdata/grepinputx
721RC=0
722---------------------------- Test 97 -----------------------------
723./testdata/grepinput3
724./testdata/grepinputx
725RC=0
726---------------------------- Test 98 -----------------------------
727./testdata/grepinputx
728RC=0
729---------------------------- Test 99 -----------------------------
730./testdata/grepinput3
731./testdata/grepinputx
732RC=0
733---------------------------- Test 100 ------------------------------
734./testdata/grepinput:zerothe.
735./testdata/grepinput:zeroa
736./testdata/grepinput:zerothe.
737RC=0
738---------------------------- Test 101 ------------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700739./testdata/grepinput:.|zero|the|.
740./testdata/grepinput:zero|a
741./testdata/grepinput:.|zero|the|.
Nick Kralevichf73ff172014-09-27 12:41:49 -0700742RC=0
743---------------------------- Test 102 -----------------------------
7442:
7455:
7467:
7479:
74812:
74914:
750RC=0
751---------------------------- Test 103 -----------------------------
752RC=0
753---------------------------- Test 104 -----------------------------
7542:
7555:
7567:
7579:
75812:
75914:
760RC=0
761---------------------------- Test 105 -----------------------------
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700762triple: t1_txt s1_tag s_txt p_tag p_txt o_tag o_txt
763
764triple: t2_txt s1_tag s_txt p_tag p_txt o_tag
765Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
766
767triple: t3_txt s2_tag s_txt p_tag p_txt o_tag o_txt
768
769triple: t4_txt s1_tag s_txt p_tag p_txt o_tag o_txt
770
771triple: t5_txt s1_tag s_txt p_tag p_txt o_tag
772o_txt
773
774triple: t6_txt s2_tag s_txt p_tag p_txt o_tag o_txt
775
776triple: t7_txt s1_tag s_txt p_tag p_txt o_tag o_txt
Nick Kralevichf73ff172014-09-27 12:41:49 -0700777RC=0
778---------------------------- Test 106 -----------------------------
779a
780RC=0
Elliott Hughes8366e8b2015-08-14 20:48:15 -0700781---------------------------- Test 107 -----------------------------
7821:0,1
7832:0,1
7842:1,1
7852:2,1
7862:3,1
7872:4,1
788RC=0
Elliott Hughes0ea98832015-12-04 23:18:20 -0800789---------------------------- Test 108 ------------------------------
790RC=0
791---------------------------- Test 109 -----------------------------
792RC=0
Janis Danisevskis8b979b22016-08-15 16:09:16 +0100793---------------------------- Test 110 -----------------------------
794match 1:
795 a
796/1/a
797match 2:
798 b
799/2/b
800match 3:
801 c
802/3/c
803match 4:
804 d
805/4/d
806match 5:
807 e
808/5/e
809RC=0
810---------------------------- Test 111 -----------------------------
811607:0,12
812609:0,12
813611:0,12
814613:0,12
815615:0,12
816RC=0
817---------------------------- Test 112 -----------------------------
Elliott Hughes653c2102019-01-09 15:41:36 -080081837172,12
81937184,12
82037196,12
82137208,12
82237220,12
Janis Danisevskis8b979b22016-08-15 16:09:16 +0100823RC=0
Elliott Hughes9bc971b2018-07-27 13:23:14 -0700824---------------------------- Test 113 -----------------------------
825480
826RC=0
827---------------------------- Test 114 -----------------------------
828testdata/grepinput:469
829testdata/grepinput3:0
830testdata/grepinput8:0
831testdata/grepinputM:2
832testdata/grepinputv:3
833testdata/grepinputx:6
834TOTAL:480
835RC=0
836---------------------------- Test 115 -----------------------------
837testdata/grepinput:469
838testdata/grepinputM:2
839testdata/grepinputv:3
840testdata/grepinputx:6
841TOTAL:480
842RC=0
843---------------------------- Test 116 -----------------------------
844478
845RC=0
846---------------------------- Test 117 -----------------------------
847469
8480
8490
8502
8513
8526
853480
854RC=0
855---------------------------- Test 118 -----------------------------
856testdata/grepinput3
857testdata/grepinput8
858RC=0
859---------------------------- Test 119 -----------------------------
860123
861456
862789
863---
864abc
865def
866xyz
867---
868RC=0
869---------------------------- Test 120 ------------------------------
870./testdata/grepinput:the binary zero.:zerothe.
871./testdata/grepinput:a binary zero:zeroa
872./testdata/grepinput:the binary zero.:zerothe.
873RC=0
874---------------------------- Test 121 -----------------------------
875This line contains \E and (regex) *meta* [characters].
876RC=0
877---------------------------- Test 122 -----------------------------
878over the lazy dog.
879The word is cat in this line
880RC=0
881---------------------------- Test 123 -----------------------------
882over the lazy dog.
883The word is cat in this line
884RC=0
885---------------------------- Test 124 -----------------------------
8863:start end in between start
887end and following
8887:start end in between start
889end and following start
890end other stuff
89111:start end in between start
892
893end
89416:start end in between start
895end
896RC=0
8973:start end in between start
898end and following
8995-Other stuff
9006-
9017:start end in between start
902end and following start
903end other stuff
90410-
90511:start end in between start
906
907end
90814-
90915-** These two lines must be last.
91016:start end in between start
911end
912RC=0
9133:start end in between start
914end and following
9157:start end in between start
916end and following start
917end other stuff
91811:start end in between start
919
920end
92116:start end in between start
922end
923RC=0
9243:start end in between start
925end and following
9265-Other stuff
9276-
9287:start end in between start
929end and following start
930end other stuff
93110-
93211:start end in between start
933
934end
93514-
93615-** These two lines must be last.
93716:start end in between start
938end
939RC=0
940---------------------------- Test 125 -----------------------------
941abcd
942RC=0
943abcd
944RC=0
945abcd
946RC=0
947abcd
948RC=0
Elliott Hughes653c2102019-01-09 15:41:36 -0800949---------------------------- Test 126 -----------------------------
950ABC�XYZ
951RC=0
Elliott Hughes2dbd7d22020-06-03 14:32:37 -0700952---------------------------- Test 127 -----------------------------
953pattern
954RC=0
955---------------------------- Test 128 -----------------------------
956pcre2grep: Requested group 1 cannot be captured.
957pcre2grep: Use --om-capture to increase the size of the capture vector.
958RC=2
Elliott Hughes3435c422020-12-04 13:18:28 -0800959---------------------------- Test 129 -----------------------------
960The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the
961lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox
962RC=0
963---------------------------- Test 130 -----------------------------
964fox
965fox
966fox
967fox
968RC=0
969---------------------------- Test 131 -----------------------------
9702
971RC=0
972---------------------------- Test 132 -----------------------------
973match 1:
974 a
975match 2:
976 b
977---
978 a
979RC=0
980---------------------------- Test 133 -----------------------------
Elliott Hughes4e19c8e2022-04-15 15:11:02 -0700981match 1:
982 a
983match 2:
984 b
985---
986match 2:
987 b
988match 3:
989 c
990RC=0
991---------------------------- Test 134 -----------------------------
Elliott Hughes3435c422020-12-04 13:18:28 -0800992=AB3CD5=
993RC=0