Class RepeatMatcher
Matcher that matches another matcher a number of times in a row, within a range.
Inherited Members
Namespace: Singulink.Cryptography.PasswordMatchers
Assembly: Singulink.Cryptography.PasswordMatcher.dll
Syntax
public sealed class RepeatMatcher : PasswordMatcher
Remarks
Each occurrence is matched independently, so an inner matcher that matches several alternatives (such as an AnyMatcher) can match a different alternative each time. Results are produced fewest occurrences first.
Constructors
| Name | Description |
|---|---|
| RepeatMatcher(PasswordMatcher, int, int) | Initializes a new instance of the RepeatMatcher class. |
Properties
| Name | Description |
|---|---|
| Matcher | Gets the matcher that is repeated. |
| MaxCount | Gets the maximum number of occurrences that are matched. |
| MinCount | Gets the minimum number of occurrences that are matched. |
Methods
| Name | Description |
|---|---|
| GetMatchesCore(PasswordMatchContext) | Gets the contexts that result from matching this matcher at the current position of the given context, in the order they should be tried. |