Constructor RepeatedCharMatcher
RepeatedCharMatcher(int, int, Func<char, bool>?, bool)
Initializes a new instance of the RepeatedCharMatcher class.
Declaration
public RepeatedCharMatcher(int minCount, int maxCount, Func<char, bool>? charFilter, bool matchTrailingSeparator)
Parameters
| Type | Name | Description |
|---|---|---|
| int | minCount | The minimum number of repeated characters to match. |
| int | maxCount | The maximum number of repeated characters to match. |
| Func<char, bool> | charFilter | A filter that determines which characters can be matched, or null to match any character. |
| bool | matchTrailingSeparator | Whether a single separator character after the repeated characters is also matched. |