HighlightHelper

A helper class for highlighting text matches within HTML elements.

Typedefs

1

Definition of a single RegExp match result with added end property.

ParameterTypeDescription
indexNumber

The start index of the match.

lengthNumber

The length of the matched substring.

endNumber

The end index of the match.

0Number

The matched substring.

inputString

The original input string.