C# Class WixSharp.Compiler.Wildcard

Represents a wildcard running on the T:System.Text.RegularExpressions engine.
This class was developed and described by reinux in "Converting Wildcards to Regexes" on CodeProject (http://www.codeproject.com/KB/recipes/wildcardtoregex.aspx).
Inheritance: System.Text.RegularExpressions.Regex
ファイルを表示 Open project: Eun/WixSharp

Public Methods

Method Description
Wildcard ( string pattern ) : System

Initializes a wildcard with the given search pattern.

Wildcard ( string pattern, RegexOptions options ) : System

Initializes a wildcard with the given search pattern and options.

WildcardToRegex ( string pattern ) : string

Converts a wildcard to a regex.

Method Details

Wildcard() public method

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

Wildcard() public method

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

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