See http://doc.trolltech.com/latest/qscriptengine.html#newRegExp
There should also be corresponding methods QScriptValue::isRegExp() and QScriptValue::toRegExp().
Porting QtScript API over JSC C API will not be continued.