Function mozjs_sys::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.