JS_ReportError(cx, "sorry, regular expression are not supported");
JS_ReportErrorNumber(cx, NULL, JSMSG_NO_REG_EXPS);
JS_NewUCRegExpObject(JSContext *cx, jschar *chars, size_t length, uintN flags){    CHECK_REQUEST(cx);#if JS_HAS_REGEXPS    return js_NewRegExpObject(cx, chars, length, flags);#else    JS_ReportError(cx, "sorry, regular expression are not supported");    return NULL;#endif}