Share via


CommonRegex.CreateRegex(String) Method

Definition

Create Regex object from PCRE pattern string.

public static System.Text.RegularExpressions.Regex CreateRegex (string pattern);
static member CreateRegex : string -> System.Text.RegularExpressions.Regex
Public Shared Function CreateRegex (pattern As String) As Regex

Parameters

pattern
String

PCRE pattern string.

Returns

Regex object.

Applies to