interface IntervalMatchesIterator extends MatchesIterator
MatchesIterator.getSubMatches()
returns
the submatches of all nested matches as a flat iterator, but
IntervalIterator.gaps()
only returns the gaps between its immediate
sub-matches, so we can't calculate the latter using the former.Modifier and Type | Method and Description |
---|---|
int |
gaps()
The number of top-level gaps inside the current match
|
endOffset, endPosition, getQuery, getSubMatches, next, startOffset, startPosition