2.19 <%GRegexError>

Enumeration: <%GRegexError>

Error codes returned by regular expressions functions.

Members

compile

Compilation of the regular expression failed.

optimize

Optimization of the regular expression failed.

replace

Replacement failed due to an ill-formed replacement string.

match

The match process failed.

internal

Internal error of the regular expression engine. Since 2.16

stray-backslash

"\\" at end of pattern. Since 2.16

missing-control-char

"\\c" at end of pattern. Since 2.16

unrecognized-escape

Unrecognized character follows "\\". Since 2.16

quantifiers-out-of-order

Numbers out of order in "{}" quantifier. Since 2.16

quantifier-too-big

Number too big in "{}" quantifier. Since 2.16

unterminated-character-class

Missing terminating "]" for character class. Since 2.16

invalid-escape-in-character-class

Invalid escape sequence in character class. Since 2.16

range-out-of-order

Range out of order in character class. Since 2.16

nothing-to-repeat

Nothing to repeat. Since 2.16

unrecognized-character

Unrecognized character after "(?", "(?<" or "(?P". Since 2.16

posix-named-class-outside-class

POSIX named classes are supported only within a class. Since 2.16

unmatched-parenthesis

Missing terminating ")" or ")" without opening "(". Since 2.16

inexistent-subpattern-reference

Reference to non-existent subpattern. Since 2.16

unterminated-comment

Missing terminating ")" after comment. Since 2.16

expression-too-large

Regular expression too large. Since 2.16

memory-error

Failed to get memory. Since 2.16

variable-length-lookbehind

Lookbehind assertion is not fixed length. Since 2.16

malformed-condition

Malformed number or name after "(?(". Since 2.16

too-many-conditional-branches

Conditional group contains more than two branches. Since 2.16

assertion-expected

Assertion expected after "(?(". Since 2.16

unknown-posix-class-name

Unknown POSIX class name. Since 2.16

posix-collating-elements-not-supported

POSIX collating elements are not supported. Since 2.16

hex-code-too-large

Character value in "\\x{...}" sequence is too large. Since 2.16

invalid-condition

Invalid condition "(?(0)". Since 2.16

single-byte-match-in-lookbehind

\\C not allowed in lookbehind assertion. Since 2.16

infinite-loop

Recursive call could loop indefinitely. Since 2.16

missing-subpattern-name-terminator

Missing terminator in subpattern name. Since 2.16

duplicate-subpattern-name

Two named subpatterns have the same name. Since 2.16

malformed-property

Malformed "\\P" or "\\p" sequence. Since 2.16

unknown-property

Unknown property name after "\\P" or "\\p". Since 2.16

subpattern-name-too-long

Subpattern name is too long (maximum 32 characters). Since 2.16

too-many-subpatterns

Too many named subpatterns (maximum 10,000). Since 2.16

invalid-octal-value

Octal value is greater than "\\377". Since 2.16

too-many-branches-in-define

"DEFINE" group contains more than one branch. Since 2.16

define-repetion

Repeating a "DEFINE" group is not allowed. This error is never raised. Since: 2.16 Deprecated: 2.34

inconsistent-newline-options

Inconsistent newline options. Since 2.16

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

invalid-relative-reference

relative reference must not be zero. Since: 2.34

backtracking-control-verb-argument-forbidden

the backtracing control verb used does not allow an argument. Since: 2.34

unknown-backtracking-control-verb

unknown backtracing control verb. Since: 2.34

number-too-big

number is too big in escape sequence. Since: 2.34

missing-subpattern-name

Missing subpattern name. Since: 2.34

missing-digit

Missing digit. Since 2.34

invalid-data-character

In JavaScript compatibility mode, "[" is an invalid data character. Since: 2.34

extra-subpattern-name

different names for subpatterns of the same number are not allowed. Since: 2.34

backtracking-control-verb-argument-required

the backtracing control verb requires an argument. Since: 2.34

invalid-control-char

"\\c" must be followed by an ASCII character. Since: 2.34

missing-name

"\\k" is not followed by a braced, angle-bracketed, or quoted name. Since: 2.34

not-supported-in-class

"\\N" is not supported in a class. Since: 2.34

too-many-forward-references

too many forward references. Since: 2.34

name-too-long

the name is too long in "(MARK)", "(PRUNE)", "(SKIP)", or "(THEN)". Since: 2.34

character-value-too-large

the character value in the \\u sequence is too large. Since: 2.34