if you don't test error anyway, I think you can just pass nil to the regex