code: public static String escapeJsRegex(SoyValue value) {
      value = normalizeNull(value);
      return escapeJsRegex(value.coerceToString());
    }
docs: Converts the input to the body of a JavaScript regular expression literal.