• 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
113 (')', '', SYNTAX_ERROR), # Unmatched right bracket
153 ('a[]b', '-', SYNTAX_ERROR),
154 ('a[', '-', SYNTAX_ERROR),
155 ('a\\', '-', SYNTAX_ERROR),
156 ('abc)', '-', SYNTAX_ERROR),
157 ('(abc', '-', SYNTAX_ERROR),
200 (')(', '-', SYNTAX_ERROR),
267 ('(?P<i d>aaa)a', 'aaaa', SYNTAX_ERROR),
270 ('(?P<id>aa)(?P=xd)', 'aaaa', SYNTAX_ERROR),
274 ('\\1', 'a', SYNTAX_ERROR),
289 ('a[b-a]', '-', SYNTAX_ERROR),
290 ('*a', '-', SYNTAX_ERROR),
291 ('(*)b', '-', SYNTAX_ERROR),
293 ('a**', '-', SYNTAX_ERROR),
306 ('((((((((((a))))))))))\\41', '', SYNTAX_ERROR),
307 ('(?i)((((((((((a))))))))))\\41', '', SYNTAX_ERROR),
352 ('(?i)a[b-a]', '-', SYNTAX_ERROR),
353 ('(?i)a[]b', '-', SYNTAX_ERROR),
354 ('(?i)a[', '-', SYNTAX_ERROR),
366 ('(?i)*a', '-', SYNTAX_ERROR),
367 ('(?i)(*)b', '-', SYNTAX_ERROR),
369 ('(?i)a\\', '-', SYNTAX_ERROR),
374 ('(?i)abc)', '-', SYNTAX_ERROR),
375 ('(?i)(abc', '-', SYNTAX_ERROR),
380 ('(?i)a**', '-', SYNTAX_ERROR),
391 ('(?i))(', '-', SYNTAX_ERROR),
457 ('w(?# comment', 'w', SYNTAX_ERROR),
515 (r'((.)\1+)', '', SYNTAX_ERROR),
519 (r'(', '', SYNTAX_ERROR),
541 (r'^*', '', SYNTAX_ERROR),