Method CharSequence
CharSequence(CharSequenceTypes, bool)
Creates a matcher that matches sequences of characters that are adjacent on a keyboard or keypad or consecutive in the alphabet, such as "qwerty", "zaq1", "!@#$", "1q2w3e4r", "7410" or "abcdef".
Declaration
public static PasswordMatcher CharSequence(CharSequenceTypes sequenceTypes, bool matchTrailingSeparator = true)
Parameters
| Type | Name | Description |
|---|---|---|
| CharSequenceTypes | sequenceTypes | The types of sequences to match. |
| bool | matchTrailingSeparator | Whether a single separator character after the sequence is also matched. |
Returns
| Type | Description |
|---|---|
| PasswordMatcher |