Check whether the target matches the pattern
expect(matches('abc', 'abc').value).toBeTruthy()
The target
The RegExp
Optional
The optional modifier
Generated using TypeDoc
Check whether the target matches the pattern
Example