Method RegEx():getLastMessage() Foundation

Returns the last error message.

Syntax
:getLastMessage() --> cLastError
Return

An error message or the empty string ("").

Description

Retrieves the most recent error message from pattern compilation or matching operations. Returns an empty string if no error occurred.

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.