Method Repeat
Repeat(PasswordMatcher, int, int)
Creates a matcher that matches the given matcher a number of times in a row, within a range.
Declaration
public static PasswordMatcher Repeat(PasswordMatcher matcher, int minCount, int maxCount)
Parameters
| Type | Name | Description |
|---|---|---|
| PasswordMatcher | matcher | The matcher to repeat. Optional matchers are not permitted. |
| int | minCount | The minimum number of occurrences to match (at least 1). |
| int | maxCount | The maximum number of occurrences to match. |
Returns
| Type | Description |
|---|---|
| PasswordMatcher |