lastSpan property

FileSpan? get lastSpan

The FileSpan for lastMatch.

This is the span for the entire match. There's no way to get spans for subgroups since Match exposes no information about their positions.

Implementation

FileSpan? get lastSpan {
  if (lastMatch == null) _lastSpan = null;
  return _lastSpan;
}