Constructor TextMatcher
TextMatcher(string, PasswordMatchType, bool, bool, bool)
Initializes a new instance of the TextMatcher class.
Declaration
public TextMatcher(string text, PasswordMatchType matchType, bool checkSubstitutions, bool matchRepeats, bool matchTrailingSeparator)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to match. |
| PasswordMatchType | matchType | The type of match to report. |
| bool | checkSubstitutions | Whether common character substitutions are matched in place of the original characters. |
| bool | matchRepeats | Whether consecutive repeats of the matched text are also matched. |
| bool | matchTrailingSeparator | Whether a single separator character after the text is also matched. |