Edit

Share via


Is.StringMatching(String) Method

Definition

Returns a constraint that succeeds if the actual value matches the regular expression supplied as an argument.

public static NUnit.Framework.Constraints.RegexConstraint StringMatching (string pattern);
static member StringMatching : string -> NUnit.Framework.Constraints.RegexConstraint

Parameters

pattern
String

Returns

Applies to