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