Lines Matching refs:FAIL
7 [SUCCEED, FAIL, SYNTAX_ERROR] = range(3)
83 (r'[^a\0]', '\0', FAIL),
92 (r'\x00ffffffffffffff', '\377', FAIL, 'found', chr(255)),
93 (r'\x00f', '\017', FAIL, 'found', chr(15)),
94 (r'\x00fe', '\376', FAIL, 'found', chr(254)),
104 ('a.b', 'a\nb', FAIL),
105 ('a.*b', 'acc\nccb', FAIL),
106 ('a.{4,5}b', 'acc\nccb', FAIL),
116 ('abc', 'xbc', FAIL),
117 ('abc', 'axc', FAIL),
118 ('abc', 'abx', FAIL),
126 ('ab+bc', 'abc', FAIL),
127 ('ab+bc', 'abq', FAIL),
131 ('ab?bc', 'abbbbc', FAIL),
134 ('^abc$', 'abcc', FAIL),
136 ('^abc$', 'aabc', FAIL),
143 ('a.*c', 'axyzd', FAIL),
144 ('a[bc]d', 'abc', FAIL),
146 ('a[b-d]e', 'abd', FAIL),
162 ('a[^bc]d', 'abd', FAIL),
164 ('a[^-b]c', 'a-c', FAIL),
165 ('a[^]b]c', 'a]c', FAIL),
170 ('\\by\\b', 'xy', FAIL),
171 ('\\by\\b', 'yz', FAIL),
172 ('\\by\\b', 'xyz', FAIL),
173 ('x\\b', 'xyz', FAIL),
176 ('z\\B', 'xyz', FAIL),
177 ('\\Bx', 'xyz', FAIL),
178 ('\\Ba\\B', 'a-', FAIL, '"-"', '-'),
179 ('\\Ba\\B', '-a', FAIL, '"-"', '-'),
180 ('\\Ba\\B', '-a-', FAIL, '"-"', '-'),
181 ('\\By\\B', 'xy', FAIL),
182 ('\\By\\B', 'yz', FAIL),
189 ('$b', 'b', FAIL),
202 ('abc', '', FAIL),
211 ('^(ab|cd)e', 'abcde', FAIL, 'xg1y', 'xy'),
220 ('a[bcd]+dcdcde', 'adcdcde', FAIL),
227 ('(bc+d$|ef*g.|h?i(j|k))', 'effg', FAIL),
228 ('(bc+d$|ef*g.|h?i(j|k))', 'bcdd', FAIL),
231 ('multiple words of text', 'uh-uh', FAIL),
235 ('[k]', 'ab', FAIL),
241 ('^(a+).\\1$', 'aaaa', FAIL),
261 ('([abc]*)x', 'abc', FAIL),
279 ('ab{1,}bc', 'abq', FAIL),
283 ('ab{4,5}bc', 'abbbbc', FAIL),
300 ('^(ab|cd)e', 'abcde', FAIL),
309 ('(?i)abc', 'XBC', FAIL),
310 ('(?i)abc', 'AXC', FAIL),
311 ('(?i)abc', 'ABX', FAIL),
320 ('(?i)ab+bc', 'ABC', FAIL),
321 ('(?i)ab+bc', 'ABQ', FAIL),
322 ('(?i)ab{1,}bc', 'ABQ', FAIL),
327 ('(?i)ab{4,5}?bc', 'ABBBBC', FAIL),
331 ('(?i)ab??bc', 'ABBBBC', FAIL),
335 ('(?i)^abc$', 'ABCC', FAIL),
337 ('(?i)^abc$', 'AABC', FAIL),
344 ('(?i)a.*c', 'AXYZD', FAIL),
345 ('(?i)a[bc]d', 'ABC', FAIL),
347 ('(?i)a[b-d]e', 'ABD', FAIL),
358 ('(?i)a[^bc]d', 'ABD', FAIL),
360 ('(?i)a[^-b]c', 'A-C', FAIL),
361 ('(?i)a[^]b]c', 'A]C', FAIL),
368 ('(?i)$b', 'B', FAIL),
393 ('(?i)abc', '', FAIL),
404 ('(?i)^(ab|cd)e', 'ABCDE', FAIL),
413 ('(?i)a[bcd]+dcdcde', 'ADCDCDE', FAIL),
420 ('(?i)(bc+d$|ef*g.|h?i(j|k))', 'EFFG', FAIL),
421 ('(?i)(bc+d$|ef*g.|h?i(j|k))', 'BCDD', FAIL),
430 ('(?i)multiple words of text', 'UH-UH', FAIL),
434 ('(?i)[k]', 'AB', FAIL),
477 xyz""", FAIL),
502 (r'\x00ff', '\377', FAIL),
545 (r'^.*?$', 'one\ntwo\nthree\n', FAIL),
547 (r'a[^>]*?b', 'a>b', FAIL),
549 (r'^a*?$', 'foo', FAIL),