Skip to content

Latest commit

 

History

History
89 lines (49 loc) · 2.94 KB

File metadata and controls

89 lines (49 loc) · 2.94 KB

Pattern.BalancingGroup Method

Home

Containing Type: Pattern

Assembly: Pihrtsoft.Text.RegularExpressions.Linq.dll

Overloads

Method Summary
BalancingGroup(String, String, Object) Appends a balancing group with specified group names and a content.
BalancingGroup(String, String, Object[]) Appends a balancing group with specified group names and a content.

BalancingGroup(String, String, Object)


Appends a balancing group with specified group names and a content.

public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiablePattern BalancingGroup(string name1, string name2, object content)

Parameters

name1String

Current group name.

name2String

Previously defined group name.

contentObject

The content to be matched.

Returns

QuantifiablePattern

Exceptions

ArgumentException

name1 or name2 is not a valid regex group name.

ArgumentNullException

name1 or name2 or content is null.

BalancingGroup(String, String, Object[])


Appends a balancing group with specified group names and a content.

public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiablePattern BalancingGroup(string name1, string name2, params object[] content)

Parameters

name1String

Current group name.

name2String

Previously defined group name.

contentObject[]

An object array that contains zero or more patterns any one of which has to be matched.

Returns

QuantifiablePattern

Exceptions

ArgumentException

name1 or name2 is not a valid regex group name.

ArgumentNullException

name1 or name2 or content is null.