Fix regular expression manipulation

It's because `Regexp.escape` escapes spaces, and we were inserting `[\s\-]` in between the `\` and the space.