JSValue.CreateRegularExpression(String, String, JSContext) 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.
Creates a regular expression in the provided context, with the specified values.
[Foundation.Export("valueWithNewRegularExpressionFromPattern:flags:inContext:")]
public static JavaScriptCore.JSValue CreateRegularExpression (string pattern, string flags, JavaScriptCore.JSContext context);
static member CreateRegularExpression : string * string * JavaScriptCore.JSContext -> JavaScriptCore.JSValue
Parameters
- pattern
- String
- flags
- String
- context
- JSContext
Returns
- Attributes