Value | Meaning |
---|---|
COMPILE0 | Compilation of the regular expression failed. |
OPTIMIZE1 | Optimization of the regular expression failed. |
REPLACE2 | Replacement failed due to an ill-formed replacement string. |
MATCH3 | The match process failed. |
INTERNAL4 | Internal error of the regular expression engine. Since 2.16 |
STRAY_BACKSLASH101 | "\\" at end of pattern. Since 2.16 |
MISSING_CONTROL_CHAR102 | "\\c" at end of pattern. Since 2.16 |
UNRECOGNIZED_ESCAPE103 | Unrecognized character follows "\\". Since 2.16 |
QUANTIFIERS_OUT_OF_ORDER104 | Numbers out of order in "{}" quantifier. Since 2.16 |
QUANTIFIER_TOO_BIG105 | Number too big in "{}" quantifier. Since 2.16 |
UNTERMINATED_CHARACTER_CLASS106 | Missing terminating "]" for character class. Since 2.16 |
INVALID_ESCAPE_IN_CHARACTER_CLASS107 | Invalid escape sequence in character class. Since 2.16 |
RANGE_OUT_OF_ORDER108 | Range out of order in character class. Since 2.16 |
NOTHING_TO_REPEAT109 | Nothing to repeat. Since 2.16 |
UNRECOGNIZED_CHARACTER112 | Unrecognized character after "(?", "(?<" or "(?P". Since 2.16 |
POSIX_NAMED_CLASS_OUTSIDE_CLASS113 | POSIX named classes are supported only within a class. Since 2.16 |
UNMATCHED_PARENTHESIS114 | Missing terminating ")" or ")" without opening "(". Since 2.16 |
INEXISTENT_SUBPATTERN_REFERENCE115 | Reference to non-existent subpattern. Since 2.16 |
UNTERMINATED_COMMENT118 | Missing terminating ")" after comment. Since 2.16 |
EXPRESSION_TOO_LARGE120 | Regular expression too large. Since 2.16 |
MEMORY_ERROR121 | Failed to get memory. Since 2.16 |
VARIABLE_LENGTH_LOOKBEHIND125 | Lookbehind assertion is not fixed length. Since 2.16 |
MALFORMED_CONDITION126 | Malformed number or name after "(?(". Since 2.16 |
TOO_MANY_CONDITIONAL_BRANCHES127 | Conditional group contains more than two branches. Since 2.16 |
ASSERTION_EXPECTED128 | Assertion expected after "(?(". Since 2.16 |
UNKNOWN_POSIX_CLASS_NAME130 | Unknown POSIX class name. Since 2.16 |
POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED131 | POSIX collating elements are not supported. Since 2.16 |
HEX_CODE_TOO_LARGE134 | Character value in "\\x{...}" sequence is too large. Since 2.16 |
INVALID_CONDITION135 | Invalid condition "(?(0)". Since 2.16 |
SINGLE_BYTE_MATCH_IN_LOOKBEHIND136 | \\C not allowed in lookbehind assertion. Since 2.16 |
INFINITE_LOOP140 | Recursive call could loop indefinitely. Since 2.16 |
MISSING_SUBPATTERN_NAME_TERMINATOR142 | Missing terminator in subpattern name. Since 2.16 |
DUPLICATE_SUBPATTERN_NAME143 | Two named subpatterns have the same name. Since 2.16 |
MALFORMED_PROPERTY146 | Malformed "\\P" or "\\p" sequence. Since 2.16 |
UNKNOWN_PROPERTY147 | Unknown property name after "\\P" or "\\p". Since 2.16 |
SUBPATTERN_NAME_TOO_LONG148 | Subpattern name is too long (maximum 32 characters). Since 2.16 |
TOO_MANY_SUBPATTERNS149 | Too many named subpatterns (maximum 10,000). Since 2.16 |
INVALID_OCTAL_VALUE151 | Octal value is greater than "\\377". Since 2.16 |
TOO_MANY_BRANCHES_IN_DEFINE154 | "DEFINE" group contains more than one branch. Since 2.16 |
DEFINE_REPETION155 | Repeating a "DEFINE" group is not allowed. This error is never raised. Since: 2.16 Deprecated: 2.34 |
INCONSISTENT_NEWLINE_OPTIONS156 | Inconsistent newline options. Since 2.16 |
MISSING_BACK_REFERENCE157 | "\\g" is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number. Since: 2.16 |
INVALID_RELATIVE_REFERENCE158 | relative reference must not be zero. Since: 2.34 |
BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN159 | the backtracing control verb used does not allow an argument. Since: 2.34 |
UNKNOWN_BACKTRACKING_CONTROL_VERB160 | unknown backtracing control verb. Since: 2.34 |
NUMBER_TOO_BIG161 | number is too big in escape sequence. Since: 2.34 |
MISSING_SUBPATTERN_NAME162 | Missing subpattern name. Since: 2.34 |
MISSING_DIGIT163 | Missing digit. Since 2.34 |
INVALID_DATA_CHARACTER164 | In JavaScript compatibility mode, "[" is an invalid data character. Since: 2.34 |
EXTRA_SUBPATTERN_NAME165 | different names for subpatterns of the same number are not allowed. Since: 2.34 |
BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED166 | the backtracing control verb requires an argument. Since: 2.34 |
INVALID_CONTROL_CHAR168 | "\\c" must be followed by an ASCII character. Since: 2.34 |
MISSING_NAME169 | "\\k" is not followed by a braced, angle-bracketed, or quoted name. Since: 2.34 |
NOT_SUPPORTED_IN_CLASS171 | "\\N" is not supported in a class. Since: 2.34 |
TOO_MANY_FORWARD_REFERENCES172 | too many forward references. Since: 2.34 |
NAME_TOO_LONG175 | the name is too long in "(*MARK)", "(*PRUNE)", "(*SKIP)", or "(*THEN)". Since: 2.34 |
CHARACTER_VALUE_TOO_LARGE176 | the character value in the \\u sequence is too large. Since: 2.34 |
Error codes returned by regular expressions functions.