Instead of running `test()`, then a `match()` using the same regex and input, can you do the match first, then simply have the `if` check that it's a truthy value?