Fixed robot regexp escaping

It's necessary to escape values in regexps, example:
```ruby
/awe.sm/ =~ 'aweXsm' #=> 0
```

Also replaced `^$` with `\A\z`.