RegExpr error codes

RegExpr raises an error and sets the following error codes to Err. You should normally get error codes only when you make a coding mistake: you either pass a bad regular expression or you make an error calling the various functions.

ValueConstantDescription
20050RegExprError_InvalidRangeInvalid range in regular expression. Examples: [Z-A], a{10,5}
20051RegExprError_NoMatchRegExprResult was called after RegExpr returned False, or
RegExprResult was called without calling RegExpr first.
20052RegExprError_InvalidRegExprSyntax error or otherwise incorrect regular expression.
20053RegExprError_InvalidParameterFunction parameter invalid (bad ResultType).
20054RegExprError_InternalErrorAn internal error (bug) in RegExpr. Not expected to happen.
28Out of stack space. RegExpr failed to reach end of input. Could happen with very long input or pathological expressions such as ()+

©Aivosto Oy · RegExpr Help