Function mozjs_sys::jsapi::JS::NewRegExpObject
source · pub unsafe extern "C" fn NewRegExpObject(
cx: *mut JSContext,
bytes: *const c_char,
length: usize,
flags: RegExpFlags
) -> *mut JSObject
Expand description
Create a new RegExp for the given Latin-1-encoded bytes and flags.