RegexError#

Added in version 2.14.

class RegexError#

Error codes returned by regular expressions functions.

Fields#

class RegexError
ASSERTION_EXPECTED#

The type of the None singleton.

BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN#

The type of the None singleton.

BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED#

The type of the None singleton.

CHARACTER_VALUE_TOO_LARGE#

The type of the None singleton.

COMPILE#

The type of the None singleton.

DEFINE_REPETION#

The type of the None singleton.

DUPLICATE_SUBPATTERN_NAME#

The type of the None singleton.

EXPRESSION_TOO_LARGE#

The type of the None singleton.

EXTRA_SUBPATTERN_NAME#

The type of the None singleton.

HEX_CODE_TOO_LARGE#

The type of the None singleton.

INCONSISTENT_NEWLINE_OPTIONS#

The type of the None singleton.

INEXISTENT_SUBPATTERN_REFERENCE#

The type of the None singleton.

INFINITE_LOOP#

The type of the None singleton.

INTERNAL#

The type of the None singleton.

INVALID_CONDITION#

The type of the None singleton.

INVALID_CONTROL_CHAR#

The type of the None singleton.

INVALID_DATA_CHARACTER#

The type of the None singleton.

INVALID_ESCAPE_IN_CHARACTER_CLASS#

The type of the None singleton.

INVALID_OCTAL_VALUE#

The type of the None singleton.

INVALID_RELATIVE_REFERENCE#

The type of the None singleton.

MALFORMED_CONDITION#

The type of the None singleton.

MALFORMED_PROPERTY#

The type of the None singleton.

MATCH#

The type of the None singleton.

MEMORY_ERROR#

The type of the None singleton.

MISSING_BACK_REFERENCE#

The type of the None singleton.

MISSING_CONTROL_CHAR#

The type of the None singleton.

MISSING_DIGIT#

The type of the None singleton.

MISSING_NAME#

The type of the None singleton.

MISSING_SUBPATTERN_NAME#

The type of the None singleton.

MISSING_SUBPATTERN_NAME_TERMINATOR#

The type of the None singleton.

NAME_TOO_LONG#

The type of the None singleton.

NOTHING_TO_REPEAT#

The type of the None singleton.

NOT_SUPPORTED_IN_CLASS#

The type of the None singleton.

NUMBER_TOO_BIG#

The type of the None singleton.

OPTIMIZE#

The type of the None singleton.

POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED#

The type of the None singleton.

POSIX_NAMED_CLASS_OUTSIDE_CLASS#

The type of the None singleton.

QUANTIFIERS_OUT_OF_ORDER#

The type of the None singleton.

QUANTIFIER_TOO_BIG#

The type of the None singleton.

RANGE_OUT_OF_ORDER#

The type of the None singleton.

REPLACE#

The type of the None singleton.

SINGLE_BYTE_MATCH_IN_LOOKBEHIND#

The type of the None singleton.

STRAY_BACKSLASH#

The type of the None singleton.

SUBPATTERN_NAME_TOO_LONG#

The type of the None singleton.

TOO_MANY_BRANCHES_IN_DEFINE#

The type of the None singleton.

TOO_MANY_CONDITIONAL_BRANCHES#

The type of the None singleton.

TOO_MANY_FORWARD_REFERENCES#

The type of the None singleton.

TOO_MANY_SUBPATTERNS#

The type of the None singleton.

UNKNOWN_BACKTRACKING_CONTROL_VERB#

The type of the None singleton.

UNKNOWN_POSIX_CLASS_NAME#

The type of the None singleton.

UNKNOWN_PROPERTY#

The type of the None singleton.

UNMATCHED_PARENTHESIS#

The type of the None singleton.

UNRECOGNIZED_CHARACTER#

The type of the None singleton.

UNRECOGNIZED_ESCAPE#

The type of the None singleton.

UNTERMINATED_CHARACTER_CLASS#

The type of the None singleton.

UNTERMINATED_COMMENT#

The type of the None singleton.

VARIABLE_LENGTH_LOOKBEHIND#

The type of the None singleton.