Lines Matching refs:raise
79 raise error, ("redefinition of group name %s as group %d; "
192 raise error, "bogus escape (end of line)"
242 raise error, "bogus escape: %s" % repr("\\" + escape)
251 raise error, "bogus escape: %s" % repr(escape)
256 raise error, "bogus escape: %s" % repr(escape)
273 raise ValueError
293 raise error, "cannot refer to open group"
295 raise ValueError
300 raise error, "bogus escape: %s" % repr(escape)
317 raise error, "pattern not properly closed"
366 raise error, "conditional backref with more than two branches"
370 raise error, "pattern not properly closed"
435 raise error, "unexpected end of regular expression"
451 raise error, "bad character range"
455 raise error, "bad character range"
458 raise error, "unexpected end of regular expression"
503 raise OverflowError("the repetition number is too large")
507 raise OverflowError("the repetition number is too large")
509 raise error("bad repeat interval")
511 raise error, "not supported"
518 raise error, "nothing to repeat"
520 raise error, "multiple repeat"
544 raise error, "unterminated name"
550 raise error("missing group name")
552 raise error("bad character in group name %r" %
560 raise error, "unterminated name"
565 raise error("missing group name")
567 raise error("bad character in backref group name "
571 raise error, "unknown group name"
577 raise error, "unexpected end of pattern"
578 raise error, "unknown specifier: ?P%s" % char
589 raise error, "unbalanced parenthesis"
597 raise error, "syntax error"
602 raise error, "unbalanced parenthesis"
614 raise error, "unterminated name"
620 raise error("missing group name")
624 raise error, "unknown group name"
629 raise error, "bad character in group name"
633 raise error, "unexpected end of pattern"
648 raise error, "unbalanced parenthesis"
656 raise error, "unexpected end of pattern"
659 raise error, "unknown extension"
672 raise error, "parser error"
690 raise error, "unbalanced parenthesis"
692 raise error, "bogus characters at end of regular expression"
734 raise error, "unterminated group name"
739 raise error, "missing group name"
743 raise error, "negative group number"
746 raise error, "bad character in group name"
750 raise IndexError, "unknown group name"
800 raise error, "unmatched group"
802 raise error, "invalid group reference"