C# Класс Pihrtsoft.Text.RegularExpressions.Linq.Extensions.MatchExtensions

Provides a set of static methods that extends the Match class.
Показать файл Открыть проект

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

Метод Описание
EnumerateCaptures ( this match ) : IEnumerable

Enumerates through groups of a specified match and returns each capture from each group.

EnumerateCaptures ( this match, int groupNumber ) : IEnumerable

Returns an enumerable collection of captures of a group with a specified number that is from a specified match.

EnumerateCaptures ( this match, string groupName ) : IEnumerable

Returns an enumerable collection of captures of a group with a specified name that is from a specified match.

EnumerateGroups ( this match ) : IEnumerable

Returns enumerable collection of group of a specified match.

Group ( this match, int groupNumber ) : Group

Returns a group that has a specified number and it is contained in a specified match.

Group ( this match, string groupName ) : Group

Returns a group that has a specified name and it is contained in a specified match.

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

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

Enumerates through groups of a specified match and returns each capture from each group.
is null.
public static EnumerateCaptures ( this match ) : IEnumerable
match this A regular expression match.
Результат IEnumerable

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

Returns an enumerable collection of captures of a group with a specified number that is from a specified match.
is null.
public static EnumerateCaptures ( this match, int groupNumber ) : IEnumerable
match this A regular expression match.
groupNumber int A number of the group.
Результат IEnumerable

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

Returns an enumerable collection of captures of a group with a specified name that is from a specified match.
or is null.
public static EnumerateCaptures ( this match, string groupName ) : IEnumerable
match this A regular expression match.
groupName string A name of the group.
Результат IEnumerable

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

Returns enumerable collection of group of a specified match.
is null.
public static EnumerateGroups ( this match ) : IEnumerable
match this A regular expression match.
Результат IEnumerable

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

Returns a group that has a specified number and it is contained in a specified match.
is null.
public static Group ( this match, int groupNumber ) : Group
match this A regular expression match.
groupNumber int A number of the group.
Результат System.Text.RegularExpressions.Group

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

Returns a group that has a specified name and it is contained in a specified match.
is null.
public static Group ( this match, string groupName ) : Group
match this A regular expression match.
groupName string A name of the group.
Результат System.Text.RegularExpressions.Group