If you're looking for an exact string, why does it need to be a Regexp at all?
```ruby
if res.include? "ABCDEFG" ...
```