public void Dispose() => match = null;
 public MatchEnumerator(LinePatternMatch match)
 {
     this.match = match;
 }