Asserts for a string wrapped around the Assertion to match a regular expression.
"something weird".should.match(`[a-z]+`); "something weird".should.match(regex(`[a-z]+`)); "something 2 weird".should.not.match(ctRegex!(`^[a-z]+$`)); "1234numbers".should.match(`[0-9]+[a-z]+`); "1234numbers".should.not.match(`^[a-z]+`);
See Implementation
Asserts for a string wrapped around the Assertion to match a regular expression.