@Contract(pure = true)
  public static @NotNull String escapeToRegexp(@NotNull String text) {
    StringBuilder result = new StringBuilder(text.length());
    return escapeToRegexp(text, result).toString();
  }
@Contract(pure = true)
  public static @NotNull String escapeToRegexp(@NotNull String text)