and since the rest of the module uses the `RegExp#test()` function, for consistency this should be used. we also only care if it's a truthy value here, and not what it matches.