Package ch.bailu.gtk.glib
Interface RegexError
public interface RegexError
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Assertion expected after "(?static final int
the backtracing
control verb used does not allow an argument.static final int
the backtracing control
verb requires an argument.static final int
the character value in the \\u sequence is
too large.static final int
Compilation of the regular expression failed.static final int
Repeating a "DEFINE" group is not allowed.static final int
Two named subpatterns have
the same name.static final int
Regular expression too large.static final int
different names for subpatterns of the
same number are not allowed.static final int
Character value in "\\x{...}" sequence
is too large.static final int
Inconsistent newline options.static final int
Reference to non-existent
subpattern.static final int
Recursive call could loop indefinitely.static final int
Internal error of the regular expression engine.static final int
Invalid condition "(?static final int
"\\c" must be followed by an ASCII
character.static final int
In JavaScript compatibility mode,
"[" is an invalid data character.static final int
Invalid escape sequence
in character class.static final int
Octal value is greater than "\\377".static final int
relative reference must not be zero.static final int
Malformed number or name after "(?static final int
Malformed "\\P" or "\\p" sequence.static final int
The match process failed.static final int
Failed to get memory.static final int
"\\g" is not followed by a braced,
angle-bracketed, or quoted name or number, or by a plain number.static final int
"\\c" at end of pattern.static final int
Missing digit.static final int
"\\k" is not followed by a braced, angle-bracketed, or
quoted name.static final int
Missing subpattern name.static final int
Missing terminator
in subpattern name.static final int
the name is too long in "(*MARK)", "(*PRUNE)",
"(*SKIP)", or "(*THEN)".static final int
"\\N" is not supported in a class.static final int
Nothing to repeat.static final int
number is too big in escape sequence.static final int
Optimization of the regular expression failed.static final int
POSIX collating
elements are not supported.static final int
POSIX named classes are
supported only within a class.static final int
Number too big in "{}" quantifier.static final int
Numbers out of order in "{}"
quantifier.static final int
Range out of order in character class.static final int
Replacement failed due to an ill-formed replacement
string.static final int
\\C not allowed in
lookbehind assertion.static final int
"\\" at end of pattern.static final int
Subpattern name is too long
(maximum 32 characters).static final int
"DEFINE" group contains more
than one branch.static final int
Conditional group contains
more than two branches.static final int
too many forward references.static final int
Too many named subpatterns (maximum
10,000).static final int
unknown backtracing
control verb.static final int
Unknown POSIX class name.static final int
Unknown property name after "\\P" or
"\\p".static final int
Missing terminating ")" or ")"
without opening "(".static final int
Unrecognized character after "(?static final int
Unrecognized character follows "\\".static final int
Missing terminating "]" for
character class.static final int
Missing terminating ")" after comment.static final int
Lookbehind assertion is not
fixed length.
-
Field Details
-
COMPILE
static final int COMPILECompilation of the regular expression failed.- See Also:
-
OPTIMIZE
static final int OPTIMIZEOptimization of the regular expression failed.- See Also:
-
REPLACE
static final int REPLACEReplacement failed due to an ill-formed replacement
string.- See Also:
-
MATCH
static final int MATCHThe match process failed.- See Also:
-
INTERNAL
static final int INTERNALInternal error of the regular expression engine.
Since 2.16- See Also:
-
STRAY_BACKSLASH
static final int STRAY_BACKSLASH"\\" at end of pattern. Since 2.16- See Also:
-
MISSING_CONTROL_CHAR
static final int MISSING_CONTROL_CHAR"\\c" at end of pattern. Since 2.16- See Also:
-
UNRECOGNIZED_ESCAPE
static final int UNRECOGNIZED_ESCAPEUnrecognized character follows "\\".
Since 2.16- See Also:
-
QUANTIFIERS_OUT_OF_ORDER
static final int QUANTIFIERS_OUT_OF_ORDERNumbers out of order in "{}"
quantifier. Since 2.16- See Also:
-
QUANTIFIER_TOO_BIG
static final int QUANTIFIER_TOO_BIGNumber too big in "{}" quantifier.
Since 2.16- See Also:
-
UNTERMINATED_CHARACTER_CLASS
static final int UNTERMINATED_CHARACTER_CLASSMissing terminating "]" for
character class. Since 2.16- See Also:
-
INVALID_ESCAPE_IN_CHARACTER_CLASS
static final int INVALID_ESCAPE_IN_CHARACTER_CLASSInvalid escape sequence
in character class. Since 2.16- See Also:
-
RANGE_OUT_OF_ORDER
static final int RANGE_OUT_OF_ORDERRange out of order in character class.
Since 2.16- See Also:
-
NOTHING_TO_REPEAT
static final int NOTHING_TO_REPEATNothing to repeat. Since 2.16- See Also:
-
UNRECOGNIZED_CHARACTER
static final int UNRECOGNIZED_CHARACTERUnrecognized character after "(?",
"(?<" or "(?P". Since 2.16- See Also:
-
POSIX_NAMED_CLASS_OUTSIDE_CLASS
static final int POSIX_NAMED_CLASS_OUTSIDE_CLASSPOSIX named classes are
supported only within a class. Since 2.16- See Also:
-
UNMATCHED_PARENTHESIS
static final int UNMATCHED_PARENTHESISMissing terminating ")" or ")"
without opening "(". Since 2.16- See Also:
-
INEXISTENT_SUBPATTERN_REFERENCE
static final int INEXISTENT_SUBPATTERN_REFERENCEReference to non-existent
subpattern. Since 2.16- See Also:
-
UNTERMINATED_COMMENT
static final int UNTERMINATED_COMMENTMissing terminating ")" after comment.
Since 2.16- See Also:
-
EXPRESSION_TOO_LARGE
static final int EXPRESSION_TOO_LARGERegular expression too large.
Since 2.16- See Also:
-
MEMORY_ERROR
static final int MEMORY_ERRORFailed to get memory. Since 2.16- See Also:
-
VARIABLE_LENGTH_LOOKBEHIND
static final int VARIABLE_LENGTH_LOOKBEHINDLookbehind assertion is not
fixed length. Since 2.16- See Also:
-
MALFORMED_CONDITION
static final int MALFORMED_CONDITIONMalformed number or name after "(?(".
Since 2.16- See Also:
-
TOO_MANY_CONDITIONAL_BRANCHES
static final int TOO_MANY_CONDITIONAL_BRANCHESConditional group contains
more than two branches. Since 2.16- See Also:
-
ASSERTION_EXPECTED
static final int ASSERTION_EXPECTEDAssertion expected after "(?(".
Since 2.16- See Also:
-
UNKNOWN_POSIX_CLASS_NAME
static final int UNKNOWN_POSIX_CLASS_NAMEUnknown POSIX class name.
Since 2.16- See Also:
-
POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED
static final int POSIX_COLLATING_ELEMENTS_NOT_SUPPORTEDPOSIX collating
elements are not supported. Since 2.16- See Also:
-
HEX_CODE_TOO_LARGE
static final int HEX_CODE_TOO_LARGECharacter value in "\\x{...}" sequence
is too large. Since 2.16- See Also:
-
INVALID_CONDITION
static final int INVALID_CONDITIONInvalid condition "(?(0)". Since 2.16- See Also:
-
SINGLE_BYTE_MATCH_IN_LOOKBEHIND
static final int SINGLE_BYTE_MATCH_IN_LOOKBEHIND\\C not allowed in
lookbehind assertion. Since 2.16- See Also:
-
INFINITE_LOOP
static final int INFINITE_LOOPRecursive call could loop indefinitely.
Since 2.16- See Also:
-
MISSING_SUBPATTERN_NAME_TERMINATOR
static final int MISSING_SUBPATTERN_NAME_TERMINATORMissing terminator
in subpattern name. Since 2.16- See Also:
-
DUPLICATE_SUBPATTERN_NAME
static final int DUPLICATE_SUBPATTERN_NAMETwo named subpatterns have
the same name. Since 2.16- See Also:
-
MALFORMED_PROPERTY
static final int MALFORMED_PROPERTYMalformed "\\P" or "\\p" sequence.
Since 2.16- See Also:
-
UNKNOWN_PROPERTY
static final int UNKNOWN_PROPERTYUnknown property name after "\\P" or
"\\p". Since 2.16- See Also:
-
SUBPATTERN_NAME_TOO_LONG
static final int SUBPATTERN_NAME_TOO_LONGSubpattern name is too long
(maximum 32 characters). Since 2.16- See Also:
-
TOO_MANY_SUBPATTERNS
static final int TOO_MANY_SUBPATTERNSToo many named subpatterns (maximum
10,000). Since 2.16- See Also:
-
INVALID_OCTAL_VALUE
static final int INVALID_OCTAL_VALUEOctal value is greater than "\\377".
Since 2.16- See Also:
-
TOO_MANY_BRANCHES_IN_DEFINE
static final int TOO_MANY_BRANCHES_IN_DEFINE"DEFINE" group contains more
than one branch. Since 2.16- See Also:
-
DEFINE_REPETION
static final int DEFINE_REPETIONRepeating a "DEFINE" group is not allowed.
This error is never raised. Since: 2.16 Deprecated: 2.34- See Also:
-
INCONSISTENT_NEWLINE_OPTIONS
static final int INCONSISTENT_NEWLINE_OPTIONSInconsistent newline options.
Since 2.16- See Also:
-
MISSING_BACK_REFERENCE
static final int 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- See Also:
-
INVALID_RELATIVE_REFERENCE
static final int INVALID_RELATIVE_REFERENCErelative reference must not be zero. Since: 2.34- See Also:
-
BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN
static final int BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDENthe backtracing
control verb used does not allow an argument. Since: 2.34- See Also:
-
UNKNOWN_BACKTRACKING_CONTROL_VERB
static final int UNKNOWN_BACKTRACKING_CONTROL_VERBunknown backtracing
control verb. Since: 2.34- See Also:
-
NUMBER_TOO_BIG
static final int NUMBER_TOO_BIGnumber is too big in escape sequence. Since: 2.34- See Also:
-
MISSING_SUBPATTERN_NAME
static final int MISSING_SUBPATTERN_NAMEMissing subpattern name. Since: 2.34- See Also:
-
MISSING_DIGIT
static final int MISSING_DIGITMissing digit. Since 2.34- See Also:
-
INVALID_DATA_CHARACTER
static final int INVALID_DATA_CHARACTERIn JavaScript compatibility mode,
"[" is an invalid data character. Since: 2.34- See Also:
-
EXTRA_SUBPATTERN_NAME
static final int EXTRA_SUBPATTERN_NAMEdifferent names for subpatterns of the
same number are not allowed. Since: 2.34- See Also:
-
BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED
static final int BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIREDthe backtracing control
verb requires an argument. Since: 2.34- See Also:
-
INVALID_CONTROL_CHAR
static final int INVALID_CONTROL_CHAR"\\c" must be followed by an ASCII
character. Since: 2.34- See Also:
-
MISSING_NAME
static final int MISSING_NAME"\\k" is not followed by a braced, angle-bracketed, or
quoted name. Since: 2.34- See Also:
-
NOT_SUPPORTED_IN_CLASS
static final int NOT_SUPPORTED_IN_CLASS"\\N" is not supported in a class. Since: 2.34- See Also:
-
TOO_MANY_FORWARD_REFERENCES
static final int TOO_MANY_FORWARD_REFERENCEStoo many forward references. Since: 2.34- See Also:
-
NAME_TOO_LONG
static final int NAME_TOO_LONGthe name is too long in "(*MARK)", "(*PRUNE)",
"(*SKIP)", or "(*THEN)". Since: 2.34- See Also:
-
CHARACTER_VALUE_TOO_LARGE
static final int CHARACTER_VALUE_TOO_LARGEthe character value in the \\u sequence is
too large. Since: 2.34- See Also:
-