• Home
  • Raw
  • Download

Lines Matching refs:SYNTAX_ERROR

7 [SUCCEED, FAIL, SYNTAX_ERROR] = range(3)
58 ('(?P<foo_123', '', SYNTAX_ERROR), # Unterminated group identifier
59 ('(?P<1>a)', '', SYNTAX_ERROR), # Begins with a digit
60 ('(?P<!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
61 ('(?P<foo!>a)', '', SYNTAX_ERROR), # Begins with an illegal char
64 ('(?P<foo_123>a)(?P=foo_123', 'aa', SYNTAX_ERROR),
65 ('(?P<foo_123>a)(?P=1)', 'aa', SYNTAX_ERROR),
66 ('(?P<foo_123>a)(?P=!)', 'aa', SYNTAX_ERROR),
67 ('(?P<foo_123>a)(?P=foo_124', 'aa', SYNTAX_ERROR), # Backref to undefined group
73 ('\\1', 'a', SYNTAX_ERROR), # Backreference
89 (r'\u', '', SYNTAX_ERROR), # A Perl escape
114 (')', '', SYNTAX_ERROR), # Unmatched right bracket
154 ('a[]b', '-', SYNTAX_ERROR),
155 ('a[', '-', SYNTAX_ERROR),
156 ('a\\', '-', SYNTAX_ERROR),
157 ('abc)', '-', SYNTAX_ERROR),
158 ('(abc', '-', SYNTAX_ERROR),
201 (')(', '-', SYNTAX_ERROR),
268 ('(?P<i d>aaa)a', 'aaaa', SYNTAX_ERROR),
271 ('(?P<id>aa)(?P=xd)', 'aaaa', SYNTAX_ERROR),
275 ('\\1', 'a', SYNTAX_ERROR),
326 ('a[b-a]', '-', SYNTAX_ERROR),
327 ('a[]b', '-', SYNTAX_ERROR),
328 ('a[', '-', SYNTAX_ERROR),
340 ('*a', '-', SYNTAX_ERROR),
341 ('(*)b', '-', SYNTAX_ERROR),
343 ('a\\', '-', SYNTAX_ERROR),
348 ('abc)', '-', SYNTAX_ERROR),
349 ('(abc', '-', SYNTAX_ERROR),
354 ('a**', '-', SYNTAX_ERROR),
362 (')(', '-', SYNTAX_ERROR),
399 ('((((((((((a))))))))))\\41', '', SYNTAX_ERROR),
400 ('(?i)((((((((((a))))))))))\\41', '', SYNTAX_ERROR),
454 ('(?i)a[b-a]', '-', SYNTAX_ERROR),
455 ('(?i)a[]b', '-', SYNTAX_ERROR),
456 ('(?i)a[', '-', SYNTAX_ERROR),
468 ('(?i)*a', '-', SYNTAX_ERROR),
469 ('(?i)(*)b', '-', SYNTAX_ERROR),
471 ('(?i)a\\', '-', SYNTAX_ERROR),
476 ('(?i)abc)', '-', SYNTAX_ERROR),
477 ('(?i)(abc', '-', SYNTAX_ERROR),
482 ('(?i)a**', '-', SYNTAX_ERROR),
493 ('(?i))(', '-', SYNTAX_ERROR),
560 ('w(?# comment', 'w', SYNTAX_ERROR),
621 (r'((.)\1+)', '', SYNTAX_ERROR),
625 (r'(', '', SYNTAX_ERROR),
647 (r'^*', '', SYNTAX_ERROR),