Constructor AnyCharsMatcher
AnyCharsMatcher(int, int, Func<char, bool>?, bool)
Initializes a new instance of the AnyCharsMatcher class.
Declaration
public AnyCharsMatcher(int minLength, int maxLength, Func<char, bool>? charFilter, bool matchTrailingSeparator)
Parameters
| Type | Name | Description |
|---|---|---|
| int | minLength | The minimum number of characters to match (at least 1). |
| int | maxLength | The maximum number of 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 characters is also matched. |