1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
|
0@a@a
0@abc@abc
0@abc|de@abc
0@a|b|c@abc
0@a(b)c@abc
2@a(@EPAREN
0@a\(@a(
2@a(b@EPAREN
0@a)@a)@POSIX BOTCH
0@)@)@POSIX BOTCH
0@a()b@ab
0@^abc$@abc
1@a^b@a^b
1@a$b@a$b
0@^@abc
0@$@abc
0@^$@@
0@$^@@
0@^^@@
0@$$@@
0@a*(^b$)c*@b
2@|@EMPTY@NO ALTERNATION
2@*@BADRPT@TO CORRECT
2@+@BADRPT@TO CORRECT
2@?@BADRPT@TO CORRECT
1@&C@PASS
0@()@abc
2@a||b@EMPTY@NO ALTERNATION
2@|ab@EMPTY@NO ALTERNATION
2@ab|@EMPTY@NO ALTERNATION
2@(|a)b@EMPTY@NO ALTERNATION
2@(a|)b@EMPTY@NO ALTERNATION
2@(*a)@BADRPT@TO CORRECT
2@(+a)@BADRPT@TO CORRECT
2@(?a)@BADRPT@TO CORRECT
2@({1}a)@BADRPT@TO CORRECT
2@(a|*b)@BADRPT@NO ALTERNATION
2@(a|+b)@BADRPT@NO ALTERNATION
2@(a|?b)@BADRPT@NO ALTERNATION
2@(a|{1}b)@BADRPT@NO ALTERNATION
2@^*@BADRPT@TO CORRECT
2@^+@BADRPT@TO CORRECT
2@^?@BADRPT@TO CORRECT
2@^{1}@BADRPT@TO CORRECT
0@a.c@abc
0@a[bc]d@abd
0@a\*c@a*c
0@a\\b@a\b@TO CORRECT
0@a\\\*b@a\*b@SHELL TROUBLE
0@a\bc@abc@TO CORRECT
2@a\@EESCAPE@SHELL TROUBLE
0@a\\bc@a\bc@TO CORRECT
0@a\[b@a[b
2@a[b@EBRACK
0@a$@a
1@a$@a$
1@a\$@a@SHELL TROUBLE
0@a\$@a$@SHELL TROUBLE
1@a\\$@a
1@a\\$@a$@SHELL TROUBLE
1@a\\$@a\$@SHELL TROUBLE
0@a\\$@a\@SHEL TROUBLE
0@ab*c@abc
0@ab+c@abc
0@ab?c@abc
0@{@{@TO CORRECT
0@{abc@{abc@TO CORRECT
0@{1@{1
2@{1}@BADRPT@TO CORRECT
0@a{b@a{b@TO CORRECT
0@a{1}b@ab
0@a{1,}b@ab
0@a{1,2}b@aab
0@a{1@a{1
1@a{1a@aa
0@a{1a}@a{1a}
0@a{,2}@a{,2}
0@a{,}@a{,}
0@a{1,*}@a{1,,,}
2@a{1,x@EBRACE@TO CORRECT
2@a{300}@BADBR@TO CORRECT
2@a{1,0}@BADBR@TO CORRECT
0@ab{0,0}c@abcac
0@ab{0,1}c@abcac
0@ab{0,3}c@abbcac
0@ab{1,1}c@acabc
0@ab{1,3}c@acabc
0@ab{2,2}c@abcabbc
0@ab{2,4}c@abcabbc
2@a**@BADRPT@TO CORRECT
2@a++@BADRPT@TO CORRECT
2@a??@BADRPT@TO CORRECT
2@a*+@BADRPT@TO CORRECT
2@a*?@BADRPT@TO CORRECT
2@a+*@BADRPT@TO CORRECT
2@a+?@BADRPT@TO CORRECT
2@a?*@BADRPT@TO CORRECT
2@a?+@BADRPT@TO CORRECT
2@a{1}{1}@BADRPT@TO CORRECT
2@a*{1}@BADRPT@TO CORRECT
2@a+{1}@BADRPT@TO CORRECT
2@a?{1}@BADRPT@TO CORRECT
2@a{1}*@BADRPT@TO CORRECT
2@a{1}+@BADRPT@TO CORRECT
2@a{1}?@BADRPT@TO CORRECT
0@a*{b}@a{b}@TO CORRECT
0@a[b]c@abc
0@a[ab]c@abc
0@a[^ab]c@adc
0@a[]b]c@a]c
0@a[[b]c@a[c
0@a[-b]c@a-c
0@a[^]b]c@adc
0@a[^-b]c@adc
0@a[b-]c@a-c
2@a[b@EBRACK
2@a[]@EBRACK
0@a[1-3]c@a2c
2@a[3-1]c@ERANGE@TO CORRECT
2@a[1-3-5]c@ERANGE@TO CORRECT
0@a[[.-.]--]c@a-c@TO CORRECT
2@a[1-@ERANGE
2@a[[.@EBRACK
2@a[[.x@EBRACK
2@a[[.x.@EBRACK
2@a[[.x.]@EBRACK@TO CORRECT
0@a[[.x.]]@ax@TO CORRECT
2@a[[.x,.]]@ECOLLATE@TO CORRECT
0@a[[.one.]]b@a1b@TO CORRECT
2@a[[.notdef.]]b@ECOLLATE@TO CORRECT
0@a[[.].]]b@a]b@TO CORRECT
0@a[[:alpha:]]c@abc
2@a[[:notdef:]]c@ECTYPE
2@a[[:@EBRACK
2@a[[:alpha@EBRACK
2@a[[:alpha:]@EBRACK
2@a[[:alpha,:]@ECTYPE
2@a[[:]:]]b@ECTYPE
2@a[[:-:]]b@ECTYPE
2@a[[:alph:]]@ECTYPE
2@a[[:alphabet:]]@ECTYPE
0@[[:digit:]]+@a019b
0@[[:lower:]]+@AabC
0@[[:upper:]]+@aBCd
0@[[:xdigit:]]+@p0f3Cq
0@a[[=b=]]c@abc@TO CORRECT
2@a[[=@EBRACK
2@a[[=b@EBRACK
2@a[[=b=@EBRACK
2@a[[=b=]@EBRACK@TO CORRECT
2@a[[=b,=]]@ECOLLATE@TO CORRECT
0@a[[=one=]]b@a1b@TO CORRECT
0@a(((b)))c@abc
0@a(b|(c))d@abd
0@a(b*|c)d@abbd
0@a[ab]{20}@aaaaabaaaabaaaabaaaab
0@a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab]@aaaaabaaaabaaaabaaaab
0@a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights|night)@aaaaabaaaabaaaabaaaabweeknights
0@12345678901234567890123456789@a12345678901234567890123456789b
0@123456789012345678901234567890@a123456789012345678901234567890b
0@1234567890123456789012345678901@a1234567890123456789012345678901b
0@12345678901234567890123456789012@a12345678901234567890123456789012b
0@123456789012345678901234567890123@a123456789012345678901234567890123b
0@1234567890123456789012345678901234567890123456789012345678901234567890@a1234567890123456789012345678901234567890123456789012345678901234567890b
0@[ab][cd][ef][gh][ij][kl][mn]@xacegikmoq
0@[ab][cd][ef][gh][ij][kl][mn][op]@xacegikmoq
0@[ab][cd][ef][gh][ij][kl][mn][op][qr]@xacegikmoqy
0@[ab][cd][ef][gh][ij][kl][mn][op][q]@xacegikmoqy
0@abc@xabcy
0@aBc@Abc@TO CORRECT
0@a[Bc]*d@abBCcd@TO CORRECT
0@0[[:upper:]]1@0a1@TO CORRECT
0@0[[:lower:]]1@0A1@TO CORRECT
1@a[^b]c@abc
1@a[^b]c@aBc@TO CORRECT
0@a[^b]c@adc
0@[a]b[c]@abc
0@[a]b[a]@aba
0@[abc]b[abc]@abc
0@[abc]b[abd]@abd
0@a(b?c)+d@accd
0@(wee|week)(knights|night)@weeknights
0@(we|wee|week|frob)(knights|night|day)@weeknights
0@a[bc]d@xyzaaabcaababdacd
0@a[ab]c@aaabc
0@a*@b
0@/\*.*\*/@/*x*/
0@/\*.*\*/@/*x*/y/*z*/
0@/\*([^*]|\*[^/])*\*/@/*x*/
0@/\*([^*]|\*[^/])*\*/@/*x*/y/*z*/
0@/\*([^*]|\*[^/])*\*/@/*x**/y/*z*/
0@/\*([^*]|\*+[^*/])*\*+/@/*x*/
0@/\*([^*]|\*+[^*/])*\*+/@/*x*/y/*z*/
0@/\*([^*]|\*+[^*/])*\*+/@/*x**/y/*z*/
0@/\*([^*]|\*+[^*/])*\*+/@/*x****/y/*z*/
0@/\*([^*]|\*+[^*/])*\*+/@/*x**x*/y/*z*/
0@/\*([^*]|\*+[^*/])*\*+/@/*x***x/y/*z*/
0@aZb@a@TO CORRECT
0@[[:<:]]a@a@TO CORRECT
1@[[:<:]]a@ba@TO CORRECT
0@[[:<:]]a@-a@TO CORRECT
0@a[[:>:]]@a@TO CORRECT
1@a[[:>:]]@ab@TO CORRECT
0@a[[:>:]]@a-@TO CORRECT
0@[[:<:]]a.c[[:>:]]@axcd-dayc-dazce-abc@TO CORRECT
0@[[:<:]]a.c[[:>:]]@axcd-dayc-dazce-abc-q@TO CORRECT
0@[[:<:]]a.c[[:>:]]@axc-dayc-dazce-abc@TO CORRECT
0@[[:<:]]b.c[[:>:]]@a_bxc-byc_d-bzc-q@TO CORRECT
0@[[:<:]].x..[[:>:]]@y_xa_-_xb_y-_xc_-axdc@TO CORRECT
1@[[:<:]]a_b[[:>:]]@x_a_b@TO CORRECT
0@(A[1])|(A[2])|(A[3])|(A[4])|(A[5])|(A[6])|(A[7])|(A[8])|(A[9])|(A[A])@A1
0@abcdefghijklmnop@abcdefghijklmnop
0@abcdefghijklmnopqrstuv@abcdefghijklmnopqrstuv
0@CC[13]1|a{21}[23][EO][123][Es][12]a{15}aa[34][EW]aaaaaaa[X]a@CC11
0@a?b@ab
|