@Override
  public @Nullable Iterable<TextRange> matchingFragments(@NotNull String text) {
    if (getMatcher() instanceof MinusculeMatcher matcher) {
      return matcher.matchingFragments(text);
    }
    return null;
  }
@Override
  public @Nullable Iterable<TextRange> matchingFragments(@NotNull String text)