Method RegEx():getErrorPos() Foundation

Returns the error position in the pattern.

Syntax
:getErrorPos() --> nErrorPosition
Return

The character position of the error.

Description

For pattern compilation errors, returns the character position where the error was detected. Returns 0 if no compilation error occurred or if the error is not position-specific.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.