C# Class CommonMarkSharp.RegexUtils

显示文件 Open project: MortenHoustonLudvigsen/CommonMarkSharp

Public Methods

Method Description
Create ( string pattern ) : Regex
IsMatch ( this re, string input, int index, string &groups ) : bool
IsMatch ( this re, string input, string &groups ) : bool
Join ( ) : string
NormalizeWhitespace ( string text ) : string

Method Details

Create() public static method

public static Create ( string pattern ) : Regex
pattern string
return System.Text.RegularExpressions.Regex

IsMatch() public static method

public static IsMatch ( this re, string input, int index, string &groups ) : bool
re this
input string
index int
groups string
return bool

IsMatch() public static method

public static IsMatch ( this re, string input, string &groups ) : bool
re this
input string
groups string
return bool

Join() public static method

public static Join ( ) : string
return string

NormalizeWhitespace() public static method

public static NormalizeWhitespace ( string text ) : string
text string
return string