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