Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 2.16 KB

File metadata and controls

69 lines (39 loc) · 2.16 KB

QuantifiablePattern.Count Method

Home

Containing Type: QuantifiablePattern

Assembly: Pihrtsoft.Text.RegularExpressions.Linq.dll

Overloads

Method Summary
Count(Int32) Specifies that previous element must be matched a specified number of times.
Count(Int32, Int32) Specifies that previous element must be matched from minimal to maximum times.

Count(Int32)


Specifies that previous element must be matched a specified number of times.

public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiedPattern Count(int exactCount)

Parameters

exactCountInt32

A number of times the pattern must be matched.

Returns

QuantifiedPattern

Exceptions

ArgumentOutOfRangeException

exactCount is less than zero.

Count(Int32, Int32)


Specifies that previous element must be matched from minimal to maximum times.

public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiedPattern Count(int minCount, int maxCount)

Parameters

minCountInt32

A minimal number of times the pattern must be matched.

maxCountInt32

A maximum number of times the pattern can be matched.

Returns

QuantifiedPattern

Exceptions

ArgumentOutOfRangeException

minCount is less than zero or maxCount is less than minCount.