Fix regular expression manipulation

It's because `Regexp.escape` escapes spaces, and we were inserting `[\s\-]` after the `\` before the space - escaping the opening `[` as a result