Function script::dom::bindings::import::module::jsapi::JS::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.