C# Class CASCExplorer.Wildcard

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

Méthodes publiques

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

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

Wildcard() public méthode

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

WildcardToRegex() public static méthode

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