Merge from vendor branch OPENSSH:
[dragonfly.git] / gnu / usr.bin / grep / tests / bre.tests
1 0@a\(b\)c@abc
2 0@a(@a(
3 2@a\(@EPAREN
4 2@a\(b@EPAREN
5 0@a(b@a(b
6 0@a)@a)
7 2@a\)@EPAREN
8 2@\)@EPAREN
9 0@a\(\)b@ab
10 0@a^b@a^b@TO CORRECT
11 0@a$b@a$b
12 0@\($\)\(^\)@@
13 0@a*\(^b$\)c*@b
14 0@|@|
15 0@*@*
16 0@\(\)@abc
17 2@\(\{1\}a\)@BADRPT@TO CORRECT
18 0@^*@*
19 2@^\{1\}@BADRPT@TO CORRECT
20 0@\{@{
21 1@a\(b*\)c\1d@abbcbd
22 1@a\(b*\)c\1d@abbcbbbd
23 1@^\(.\)\1@abc
24 0@a\(\([bc]\)\2\)*d@abbccd
25 1@a\(\([bc]\)\2\)*d@abbcbd
26 0@a\(\(b\)*\2\)*d@abbbd
27 0@\(a\)\1bcd@aabcd
28 0@\(a\)\1bc*d@aabcd
29 0@\(a\)\1bc*d@aabd
30 0@\(a\)\1bc*d@aabcccd
31 0@\(a\)\1bc*[ce]d@aabcccd@TO CORRECT
32 0@^\(a\)\1b\(c\)*cd$@aabcccd
33 0@a\(*\)b@a*b
34 0@a\(**\)b@ab
35 2@a\(***\)b@BADRPT@TO CORRECT
36 0@*a@*a
37 0@**a@a
38 2@***a@BADRPT@TO CORRECT
39 0@a\{1\}b@ab
40 0@a\{1,\}b@ab
41 0@a\{1,2\}b@aab
42 2@a\{1@EBRACE
43 2@a\{1a@EBRACE
44 2@a\{1a\}@BADBR
45 2@a\{,2\}@BADBR
46 2@a\{,\}@BADBR
47 2@a\{1,x\}@BADBR
48 2@a\{1,x@EBRACE
49 2@a\{32768\}@BADBR
50 2@a\{1,0\}@BADBR
51 0@ab\{0,0\}c@abcac
52 0@ab\{0,1\}c@abcac
53 0@ab\{0,3\}c@abbcac
54 0@ab\{1,1\}c@acabc
55 0@ab\{1,3\}c@acabc
56 0@ab\{2,2\}c@abcabbc
57 0@ab\{2,4\}c@abcabbc
58 2@a\{1\}\{1\}@BADRPT@TO CORRECT
59 2@a*\{1\}@BADRPT@TO CORRECT
60 2@a\{1\}*@BADRPT@TO CORRECT
61 1@a\(b\)?c\1d@acd
62 0@-\{0,1\}[0-9]*$@-5