RegularExpressionError()

Syntax

Result$ = RegularExpressionError()
Description
Returns an human readable error (in english) about the latest failure of CreateRegularExpression().

Parameters

None.

Return value

Returns an human readable error (in english) about the latest failure of CreateRegularExpression().

Example

  ; Here we put an extra bracket '[', so there is a syntax error in the regular expression
  ;    
  If CreateRegularExpression(0, "[a-z]b[[A-Z][]")
    Debug "Success"
  Else
    Debug RegularExpressionError()
  EndIf

See Also

CreateRegularExpression()

Supported OS

All

<- NextRegularExpressionMatch() - RegularExpression Index - RegularExpressionGroup() ->