C# Class CSharpUtils.Wildcard

Represents a wildcard running on the System.Text.RegularExpressions engine.
Inheritance: System.Text.RegularExpressions.Regex
Afficher le fichier Open project: soywiz/csharputils Class Usage Examples

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