Asserts the regular expression regex makes a match on s

Namespace: MbUnit.Framework
Assembly:  MbUnit.Framework (in MbUnit.Framework.dll)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void Like(
	string s,
	Regex regex
)
Public Shared Sub Like ( _
	s As String, _
	regex As Regex _
)
public:
static void Like(
	String^ s, 
	Regex^ regex
)

Parameters

s
String
String to test.
regex
Regex
A Regex instance.

See Also