RegExpPrototype.exec(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.