Module: GLib::RegexError
- Defined in:
- (unknown)
Constant Summary collapse
- COMPILE =
Compilation of the regular expression failed.
0 or :compile
- OPTIMIZE =
Optimization of the regular expression failed.
1 or :optimize
- REPLACE =
Replacement failed due to an ill-formed replacement string.
2 or :replace
- MATCH =
The match process failed.
3 or :match
- INTERNAL =
Internal error of the regular expression engine. Since 2.16
4 or :internal
- STRAY_BACKSLASH =
"\" at end of pattern. Since 2.16
101 or :stray_backslash
- MISSING_CONTROL_CHAR =
"\c" at end of pattern. Since 2.16
102 or :missing_control_char
- UNRECOGNIZED_ESCAPE =
Unrecognized character follows "\". Since 2.16
103 or :unrecognized_escape
- QUANTIFIERS_OUT_OF_ORDER =
Numbers out of order in "{}" quantifier. Since 2.16
104 or :quantifiers_out_of_order
- QUANTIFIER_TOO_BIG =
Number too big in "{}" quantifier. Since 2.16
105 or :quantifier_too_big
- UNTERMINATED_CHARACTER_CLASS =
Missing terminating "]" for character class. Since 2.16
106 or :unterminated_character_class
- INVALID_ESCAPE_IN_CHARACTER_CLASS =
Invalid escape sequence in character class. Since 2.16
107 or :invalid_escape_in_character_class
- RANGE_OUT_OF_ORDER =
Range out of order in character class. Since 2.16
108 or :range_out_of_order
- NOTHING_TO_REPEAT =
Nothing to repeat. Since 2.16
109 or :nothing_to_repeat
- UNRECOGNIZED_CHARACTER =
Unrecognized character after "(?", "(?<" or "(?P". Since 2.16
112 or :unrecognized_character
- POSIX_NAMED_CLASS_OUTSIDE_CLASS =
POSIX named classes are supported only within a class. Since 2.16
113 or :posix_named_class_outside_class
- UNMATCHED_PARENTHESIS =
Missing terminating ")" or ")" without opening "(". Since 2.16
114 or :unmatched_parenthesis
- INEXISTENT_SUBPATTERN_REFERENCE =
Reference to non-existent subpattern. Since 2.16
115 or :inexistent_subpattern_reference
- UNTERMINATED_COMMENT =
Missing terminating ")" after comment. Since 2.16
118 or :unterminated_comment
- EXPRESSION_TOO_LARGE =
Regular expression too large. Since 2.16
120 or :expression_too_large
- MEMORY_ERROR =
Failed to get memory. Since 2.16
121 or :memory_error
- VARIABLE_LENGTH_LOOKBEHIND =
Lookbehind assertion is not fixed length. Since 2.16
125 or :variable_length_lookbehind
- MALFORMED_CONDITION =
Malformed number or name after "(?(". Since 2.16
126 or :malformed_condition
- TOO_MANY_CONDITIONAL_BRANCHES =
Conditional group contains more than two branches. Since 2.16
127 or :too_many_conditional_branches
- ASSERTION_EXPECTED =
Assertion expected after "(?(". Since 2.16
128 or :assertion_expected
- UNKNOWN_POSIX_CLASS_NAME =
Unknown POSIX class name. Since 2.16
130 or :unknown_posix_class_name
- POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED =
POSIX collating elements are not supported. Since 2.16
131 or :posix_collating_elements_not_supported
- HEX_CODE_TOO_LARGE =
Character value in "\x..." sequence is too large. Since 2.16
134 or :hex_code_too_large
- INVALID_CONDITION =
Invalid condition "(?(0)". Since 2.16
135 or :invalid_condition
- SINGLE_BYTE_MATCH_IN_LOOKBEHIND =
\C not allowed in lookbehind assertion. Since 2.16
136 or :single_byte_match_in_lookbehind
- INFINITE_LOOP =
Recursive call could loop indefinitely. Since 2.16
140 or :infinite_loop
- MISSING_SUBPATTERN_NAME_TERMINATOR =
Missing terminator in subpattern name. Since 2.16
142 or :missing_subpattern_name_terminator
- DUPLICATE_SUBPATTERN_NAME =
Two named subpatterns have the same name. Since 2.16
143 or :duplicate_subpattern_name
- MALFORMED_PROPERTY =
Malformed "\P" or "\p" sequence. Since 2.16
146 or :malformed_property
- UNKNOWN_PROPERTY =
Unknown property name after "\P" or "\p". Since 2.16
147 or :unknown_property
- SUBPATTERN_NAME_TOO_LONG =
Subpattern name is too long (maximum 32 characters). Since 2.16
148 or :subpattern_name_too_long
- TOO_MANY_SUBPATTERNS =
Too many named subpatterns (maximum 10,000). Since 2.16
149 or :too_many_subpatterns
- INVALID_OCTAL_VALUE =
Octal value is greater than "\377". Since 2.16
151 or :invalid_octal_value
- TOO_MANY_BRANCHES_IN_DEFINE =
"DEFINE" group contains more than one branch. Since 2.16
154 or :too_many_branches_in_define
- DEFINE_REPETION =
Repeating a "DEFINE" group is not allowed. This error is never raised. Since: 2.16 Deprecated: 2.34
155 or :define_repetion
- INCONSISTENT_NEWLINE_OPTIONS =
Inconsistent newline options. Since 2.16
156 or :inconsistent_newline_options
- MISSING_BACK_REFERENCE =
"\g" is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number. Since: 2.16
157 or :missing_back_reference
- INVALID_RELATIVE_REFERENCE =
relative reference must not be zero. Since: 2.34
158 or :invalid_relative_reference
- BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN =
the backtracing control verb used does not allow an argument. Since: 2.34
159 or :backtracking_control_verb_argument_forbidden
- UNKNOWN_BACKTRACKING_CONTROL_VERB =
unknown backtracing control verb. Since: 2.34
160 or :unknown_backtracking_control_verb
- NUMBER_TOO_BIG =
number is too big in escape sequence. Since: 2.34
161 or :number_too_big
- MISSING_SUBPATTERN_NAME =
Missing subpattern name. Since: 2.34
162 or :missing_subpattern_name
- MISSING_DIGIT =
Missing digit. Since 2.34
163 or :missing_digit
- INVALID_DATA_CHARACTER =
In JavaScript compatibility mode, "[" is an invalid data character. Since: 2.34
164 or :invalid_data_character
- EXTRA_SUBPATTERN_NAME =
different names for subpatterns of the same number are not allowed. Since: 2.34
165 or :extra_subpattern_name
- BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED =
the backtracing control verb requires an argument. Since: 2.34
166 or :backtracking_control_verb_argument_required
- INVALID_CONTROL_CHAR =
"\c" must be followed by an ASCII character. Since: 2.34
168 or :invalid_control_char
- MISSING_NAME =
"\k" is not followed by a braced, angle-bracketed, or quoted name. Since: 2.34
169 or :missing_name
- NOT_SUPPORTED_IN_CLASS =
"\N" is not supported in a class. Since: 2.34
171 or :not_supported_in_class
- TOO_MANY_FORWARD_REFERENCES =
too many forward references. Since: 2.34
172 or :too_many_forward_references
- NAME_TOO_LONG =
the name is too long in "(*MARK)", "(*PRUNE)", "(*SKIP)", or "(*THEN)". Since: 2.34
175 or :name_too_long
- CHARACTER_VALUE_TOO_LARGE =
the character value in the \u sequence is too large. Since: 2.34
176 or :character_value_too_large