Function javascriptcore_sys::JSObjectMakeRegExp [] [src]

pub unsafe extern "C" fn JSObjectMakeRegExp(
    ctx: JSContextRef,
    argumentCount: usize,
    arguments: *const JSValueRef,
    exception: *mut JSValueRef
) -> JSObjectRef

Creates a JavaScript RegExp object, as if by invoking the built-in RegExp constructor.

Returns a JSObject that is a RegExp.