code: public static String escapeStringForJsRegexp(String input) {
      JsString string = uncheckedCast(input);
      return string.replace(ESCAPE_JS_STRING_REGEXP, "\\$&");
    }
docs: Escape a String to be used in a JsRegexp as a String literal
  
  @param input The String we want to escape
  @return The escaped String