C# Class CASCExplorer.Wildcard

Represents a wildcard running on the System.Text.RegularExpressions engine.
Inheritance: System.Text.RegularExpressions.Regex
Show file Open project: WoW-Tools/CASCExplorer Class Usage Examples

Public Methods

Method Description
Wildcard ( string pattern, bool matchStartEnd ) : System.Text.RegularExpressions

Initializes a wildcard with the given search pattern.

Wildcard ( string pattern, bool matchStartEnd, RegexOptions options ) : System.Text.RegularExpressions

Initializes a wildcard with the given search pattern and options.

WildcardToRegex ( string pattern, bool matchStartEnd ) : string

Converts a wildcard to a regex.

Method Details

Wildcard() public method

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

Wildcard() public method

Initializes a wildcard with the given search pattern and options.
public Wildcard ( string pattern, bool matchStartEnd, RegexOptions options ) : System.Text.RegularExpressions
pattern string The wildcard pattern to match.
matchStartEnd bool
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, bool matchStartEnd ) : string
pattern string The wildcard pattern to convert.
matchStartEnd bool
return string