escapeRegExp fix. Odd slash removed.