getOffset

Provides information on where in a document a particular match is found.

Syntax

edkmatch:getOffset()

Returns

The position of the match, in bytes from the beginning of the text buffer. You can use setOffset to edit this information.