protected static @NotNull TextRange matcherRange(@NotNull TextRange range, @NotNull Matcher matcher) {
    return subRange(range, matcher.start(), matcher.end());
  }
protected static @NotNull TextRange matcherRange(@NotNull TextRange range, @NotNull Matcher matcher)