JS_ReportError(cx, "sorry, regular expression are not supported");
JS_ReportErrorNumber(cx, NULL, JSMSG_NO_REG_EXPS);
JS_NewRegExpObject(JSContext *cx, char *bytes, size_t length, uintN flags){#if JS_HAS_REGEXPS    jschar *chars;    JSObject *obj;    CHECK_REQUEST(cx);    chars = js_InflateString(cx, bytes, length);    if (!chars)	return NULL;    obj = js_NewRegExpObject(cx, chars, length, flags);    JS_free(cx, chars);    return obj;#else    JS_ReportError(cx, "sorry, regular expression are not supported");    return NULL;#endif}