RegExpCursor
constructor(text: Text, query: String, options: Set<RegexOption> = emptySet(), from: DocPos = DocPos.ZERO, to: DocPos = text.endPos)
Parameters
text
The document text to search through.
query
The regex pattern string.
options
Regex options (e.g. RegexOption.IGNORE_CASE).
from
Start position of the search range.
to
End position of the search range.