toMatch requires the `expected` to be a String or RegExp

- Otherwise it was using the `toString` as the RegExp, which is almost
  definitely _not_ what you want.

Fixes #723