Constructor RepeatedGroupMatcher
RepeatedGroupMatcher(int, int, int, Func<char, bool>?, bool)
Initializes a new instance of the RepeatedGroupMatcher class.
Declaration
public RepeatedGroupMatcher(int minGroupLength, int maxGroupLength, int minRepeats, Func<char, bool>? charFilter, bool matchTrailingSeparator)
Parameters
| Type | Name | Description |
|---|---|---|
| int | minGroupLength | The minimum length of the repeated group (at least 2). |
| int | maxGroupLength | The maximum length of the repeated group. |
| int | minRepeats | The minimum number of times the group must occur (at least 2). |
| Func<char, bool> | charFilter | A filter that determines which characters the group can contain, or null to allow any character. |
| bool | matchTrailingSeparator | Whether a single separator character after the repeated group is also matched. |