protected boolean compare(@NotNull String text, @Nullable String pattern) {
    return pattern != null && myComparator.matchingFragments(pattern, text) != null;
  }
protected boolean compare(@NotNull String text, @Nullable String pattern)