Function mozjs::jsapi::JS::ExecuteRegExpNoStatics

source ยท
pub unsafe extern "C" fn ExecuteRegExpNoStatics(
    cx: *mut JSContext,
    reobj: Handle<*mut JSObject>,
    chars: *const u16,
    length: usize,
    indexp: *mut usize,
    test: bool,
    rval: MutableHandle<Value>,
) -> bool
Expand description

Execute a regexp on a given input, starting from |indexp|. This is the same as ExecuteRegExp, except it does not update the RegExp statics and can be called without a global object.