pub unsafe extern "C" fn JSObjectMakeRegExp(
ctx: JSContextRef,
argumentCount: usize,
arguments: *const JSValueRef,
exception: *mut JSValueRef,
) -> JSObjectRefExpand description
Creates a JavaScript RegExp object, as if by invoking the
built-in RegExp constructor.
ctx: The execution context to use.argumentCount: An integer count of the number of arguments inarguments.arguments: AJSValueRefarray of arguments to pass to theRegExpconstructor. PassNULLifargumentCountis0.exception: A pointer to aJSValueRefin which to store an exception, if any. PassNULLif you do not care to store an exception.
Returns a JSObjectRef that is a RegExp.