public @Nullable Iterable<TextRange> matchingFragments(@NotNull String pattern, @NotNull String text) {
    return obtainMatcher(pattern).matchingFragments(text);
  }
public @Nullable Iterable<TextRange> matchingFragments(@NotNull String pattern, @NotNull String text)