public @Nullable Pattern createPattern(@NotNull String rule, @NotNull Syntax syntax) {
    return createPattern(rule, syntax, false);
  }
public @Nullable Pattern createPattern(@NotNull String rule, @NotNull Syntax syntax)