Remove redundant escaping in EscapeString regexp