@Nullable
    public static LevelPattern findBestMatchingPattern(@NotNull String text) {
      return findBestMatchingPattern(text, LevelPattern.values());
    }
@Nullable
    public static LevelPattern findBestMatchingPattern(@NotNull String text)