The source text which should be searched.
The characters to locate in the source text.
The index to start the search.
The matched indices, or null
if there is no match.
Linear on sourceText
.
In order for there to be a match, all of the characters in query
must appear in source
in the order given by query
.
Characters are matched using strict ===
equality.
Generated using TypeDoc
Find the indices of characters in a source text.