`rgx.test` is probably better as we're not matching anything.