RegexError Enumeration

Regex expression error codes.

Values 49

Name Description
REGEX_ERROR_NONE

No error

REGEX_ERROR_NOMATCH

No match was found

REGEX_ERROR_NULL

REGEX_ERROR_BADOPTION

REGEX_ERROR_BADMAGIC

REGEX_ERROR_UNKNOWN_OPCODE

REGEX_ERROR_NOMEMORY

REGEX_ERROR_NOSUBSTRING

REGEX_ERROR_MATCHLIMIT

REGEX_ERROR_CALLOUT

Never used by PCRE itself

REGEX_ERROR_BADUTF8

REGEX_ERROR_BADUTF8_OFFSET

REGEX_ERROR_PARTIAL

REGEX_ERROR_BADPARTIAL

REGEX_ERROR_INTERNAL

REGEX_ERROR_BADCOUNT

REGEX_ERROR_DFA_UITEM

REGEX_ERROR_DFA_UCOND

REGEX_ERROR_DFA_UMLIMIT

REGEX_ERROR_DFA_WSSIZE

REGEX_ERROR_DFA_RECURSE

REGEX_ERROR_RECURSIONLIMIT

REGEX_ERROR_NULLWSLIMIT

No longer actually used

REGEX_ERROR_BADNEWLINE

REGEX_ERROR_BADOFFSET

REGEX_ERROR_SHORTUTF8

REGEX_ERROR_RECURSELOOP

REGEX_ERROR_JIT_STACKLIMIT

REGEX_ERROR_BADMODE

REGEX_ERROR_BADENDIANNESS

REGEX_ERROR_DFA_BADRESTART

REGEX_ERROR_JIT_BADOPTION

REGEX_ERROR_BADLENGTH

REGEX_ERROR_ASSERT

internal error ?

REGEX_ERROR_BADBR

invalid repeat counts in {}

REGEX_ERROR_BADPAT

pattern error

REGEX_ERROR_BADRPT

? * + invalid

REGEX_ERROR_EBRACE

unbalanced {}

REGEX_ERROR_EBRACK

unbalanced []

REGEX_ERROR_ECOLLATE

collation error - not relevant

REGEX_ERROR_ECTYPE

bad class

REGEX_ERROR_EESCAPE

bad escape sequence

REGEX_ERROR_EMPTY

empty expression

REGEX_ERROR_EPAREN

unbalanced ()

REGEX_ERROR_ERANGE

bad range inside []

REGEX_ERROR_ESIZE

expression too big

REGEX_ERROR_ESPACE

failed to get memory

REGEX_ERROR_ESUBREG

bad back reference

REGEX_ERROR_INVARG

bad argument