Containing Type: Pattern
Assembly: Pihrtsoft.Text.RegularExpressions.Linq.dll
Method | Summary |
---|---|
MaybeCount(Int32, Object) | Appends a pattern that matches specified pattern at most specified number of times. |
MaybeCount(Int32, Object, Object[]) | Appends a pattern that matches any one specified pattern at most specified number of times. |
Appends a pattern that matches specified pattern at most specified number of times.
public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiedGroup MaybeCount(int maxCount, object content)
maxCount Int32
A maximum number of times the pattern can be matched.
content Object
The content to be matched.
content is null
.
maxCount is less than zero.
Appends a pattern that matches any one specified pattern at most specified number of times.
public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiedGroup MaybeCount(int maxCount, object first, params object[] others)
maxCount Int32
A maximum number of times the pattern can be matched.
first Object
First element of a sequence that contains patterns any one of which has to be matched.
others Object[]
Other elements of a sequence that contains patterns any one of which has to be matched.
first is null
.
maxCount is less than zero.