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
Afficher le fichier Open project: Eun/WixSharp

Méthodes publiques

Méthode 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 méthode

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

Wildcard() public méthode

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 /// .
Résultat System

WildcardToRegex() public static méthode

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