ConstraintExpression.StringMatching(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a constraint that succeeds if the actual value matches the Regex pattern supplied as an argument.
public NUnit.Framework.Constraints.RegexConstraint StringMatching (string pattern);
member this.StringMatching : string -> NUnit.Framework.Constraints.RegexConstraint
Parameters
- pattern
- String