JCL Help:TJclRegEx.ErrorOffset

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Represents the location of an error generated when compiling a regular expression.


Pascal

 public property ErrorOffset: Integer;


Description

ErrorOffset is a read-only Integer property that represents the offset into a regular expression string where an error has been detected. ErrorOffset represents the location of the inital error found in the semantics or syntax of the regular expression passed as an argument to the Compile method.
Use ErrorMessage to get the description of the error in the regular expression string.


See Also

ErrorMessage Compile


About

Notes

ErrorMessage and ErrorOffset are not related to EPCREError exception messages generated at run-time by the PCRE library.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page