match
Summary
Asserts that string matches the given regexp.
Signature
function match(string: string, regexp: RegExp, message: string): void;
Example
assert.match(html, /Welcome Back/)Params
string
The string to test.
regexp
The pattern to match against.
message
Optional failure message.