C# Класс CSharpUtils.Wildcard

Represents a wildcard running on the System.Text.RegularExpressions engine.
Наследование: System.Text.RegularExpressions.Regex
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Wildcard() публичный Метод

Initializes a wildcard with the given search pattern.
public Wildcard ( string pattern ) : System
pattern string The wildcard pattern to match.
Результат System

Wildcard() публичный Метод

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 /// .
Результат System

WildcardToRegex() публичный статический Метод

Converts a wildcard to a regex.
public static WildcardToRegex ( string pattern ) : string
pattern string The wildcard pattern to convert.
Результат string