C# 클래스 Pihrtsoft.Text.RegularExpressions.Linq.Extensions.MatchExtensions

Provides a set of static methods that extends the Match class.
파일 보기 프로젝트 열기: JosefPihrt/LinqToRegex

공개 메소드들

메소드 설명
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