Class RepeatedGroupMatcher
Matcher that matches a short group of characters repeated consecutively, such as "121212", "abab" or "1!1!1!".
Inherited Members
Namespace: Singulink.Cryptography.PasswordMatchers
Assembly: Singulink.Cryptography.PasswordMatcher.dll
Syntax
public sealed class RepeatedGroupMatcher : ValueMatcher
Remarks
Groups consisting of a single repeated character (such as "11") are not matched, since those are runs of a repeated character and are matched by RepeatedCharMatcher. The longest match is produced first.
Constructors
| Name | Description |
|---|---|
| RepeatedGroupMatcher(int, int, int, Func<char, bool>?, bool) | Initializes a new instance of the RepeatedGroupMatcher class. |
Properties
| Name | Description |
|---|---|
| CharFilter | Gets the filter that determines which characters the group can contain, or null if any character is allowed. |
| MaxGroupLength | Gets the maximum length of the repeated group. |
| MinGroupLength | Gets the minimum length of the repeated group. |
| MinRepeats | Gets the minimum number of times the group must occur. |
Methods
| Name | Description |
|---|---|
| GetValueMatches(PasswordMatchContext) | Gets the contexts that result from matching the value at the current position of the given context, in the order they should be tried. Repeats and trailing separators do not need to be handled by the implementation. |