Redigera

Dela via


RegExpConstructor.Construct(String, Boolean, Boolean, Boolean) Method

Definition

Creates a new RegExpObject object for the specified regular expression pattern and flags.

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

public:
 System::Object ^ Construct(System::String ^ pattern, bool ignoreCase, bool global, bool multiline);
public object Construct (string pattern, bool ignoreCase, bool global, bool multiline);
override this.Construct : string * bool * bool * bool -> obj
member this.Construct : string * bool * bool * bool -> obj
Public Function Construct (pattern As String, ignoreCase As Boolean, global As Boolean, multiline As Boolean) As Object

Parameters

pattern
String

The regular expression pattern to match.

ignoreCase
Boolean

true to use case-insensitive matching; otherwise, false.

global
Boolean

true to use a global match; otherwise, false.

multiline
Boolean

true to use a multiline match; otherwise, false.

Returns

A new RegExpObject object.

Applies to

See also