Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 1.99 KB

File metadata and controls

69 lines (39 loc) · 1.99 KB

Pattern.GroupReference Method

Home

Containing Type: Pattern

Assembly: Pihrtsoft.Text.RegularExpressions.Linq.dll

Overloads

Method Summary
GroupReference(Int32) Appends a pattern that matches previously defined numbered group.
GroupReference(String) Appends a pattern that matches previously defined named group.

GroupReference(Int32)


Appends a pattern that matches previously defined numbered group.

public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiablePattern GroupReference(int groupNumber)

Parameters

groupNumberInt32

A number of the group.

Returns

QuantifiablePattern

Exceptions

ArgumentOutOfRangeException

groupNumber is less than zero.

GroupReference(String)


Appends a pattern that matches previously defined named group.

public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiablePattern GroupReference(string groupName)

Parameters

groupNameString

A name of the group.

Returns

QuantifiablePattern

Exceptions

ArgumentException

groupName is not a valid regex group name.

ArgumentNullException

groupName is null.