Muokkaa

Jaa


RegExpPrototype.exec(Object, Object) Method

Definition

Runs a search for the specified regular expression pattern on the specified object.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::Object ^ exec(System::Object ^ thisob, System::Object ^ input);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.RegExp_exec)]
public static object exec (object thisob, object input);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.RegExp_exec)>]
static member exec : obj * obj -> obj
Public Shared Function exec (thisob As Object, input As Object) As Object

Parameters

thisob
Object

The object that this method is acting upon.

input
Object

The regular expression pattern to search for.

Returns

The result of the search for the regular expression pattern.

Attributes

Applies to

See also