var target = "Homer Simpson";target.ShouldMatch("Bart .*");
snippet source | anchor
Exception
target should match"Bart .*" but was"Homer Simpson"
var target = "Homer Simpson";target.ShouldNotMatch("Homer .*");
target should not match "Homer .*" but did