findNextMatch abstract method
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);