Summary
Returns a constraint that succeeds if the actual
value matches the regular expression supplied as an argument.
- Namespace
- TCLite
.Constraints - Containing Type
- ConstraintExpression
Syntax
public RegexConstraint Matches(string pattern, RegexOptions options = null)
Parameters
Name | Type | Description |
---|---|---|
pattern | string | |
options | RegexOptions |
Return Value
Type | Description |
---|---|
RegexConstraint |