ConstraintFactory.Matches(String) Method

Definition

Returns a constraint that succeeds if the actual value matches the Regex pattern supplied as an argument.

public NUnit.Framework.Constraints.RegexConstraint Matches (string pattern);
member this.Matches : string -> NUnit.Framework.Constraints.RegexConstraint

Parameters

pattern
String

Returns

Applies to