Use escaped comment for match

Ruby's match method on string, when passed a string, does not escape things like [], so explicitly escape prior to calling match. Since methods can have method names like [] and []= this means that if you don't escape, you will get 

```ruby
RegexpError: empty char-class
```