C# Class Rebel.Framework.WildcardRegex

Represents a wildcard running on the System.Text.RegularExpressions engine.
Inheritance: System.Text.RegularExpressions.Regex
Mostrar archivo Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
WildcardRegex ( string pattern ) : System.Text.RegularExpressions

Initializes a wildcard with the given search pattern.

WildcardRegex ( string pattern, RegexOptions options ) : System.Text.RegularExpressions

Initializes a wildcard with the given search pattern and options.

WildcardToRegex ( string pattern ) : string

Converts a wildcard to a regex.

Method Details

WildcardRegex() public method

Initializes a wildcard with the given search pattern.
public WildcardRegex ( string pattern ) : System.Text.RegularExpressions
pattern string The wildcard pattern to match.
return System.Text.RegularExpressions

WildcardRegex() public method

Initializes a wildcard with the given search pattern and options.
public WildcardRegex ( string pattern, RegexOptions options ) : System.Text.RegularExpressions
pattern string The wildcard pattern to match.
options RegexOptions A combination of one or more /// .
return System.Text.RegularExpressions

WildcardToRegex() public static method

Converts a wildcard to a regex.
public static WildcardToRegex ( string pattern ) : string
pattern string The wildcard pattern to convert.
return string