findNextMatch abstract method

OnigMatch? findNextMatch(
  1. Object string,
  2. int startPosition
)

Finds the earliest match at or after startPosition; a match exactly at startPosition wins immediately. Returns null when nothing matches.

string is an OnigString (or a plain String); offsets are UTF-16 code units.

Implementation

OnigMatch? findNextMatch(Object string, int startPosition);