ConstraintExpression.

Matches(Regex) Method

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(Regex regex)

Parameters

Name Type Description
regex Regex

Return Value

Type Description
RegexConstraint