I think this needs to explicitly return true/false. I did it this way due to not getting back true/false from a correct/incorrect match.

```
irb(main):004:0> 'test' =~ /test1/
nil
irb(main):005:0> 'test' =~ /test/
0
```