Function mozjs::jsapi::JS::NewUCRegExpObject
source · pub unsafe extern "C" fn NewUCRegExpObject(
cx: *mut JSContext,
chars: *const u16,
length: usize,
flags: RegExpFlags
) -> *mut JSObject
Expand description
Create a new RegExp for the given source and flags.