CommonRegex.CreateRegex(String) 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.
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.