JS: String to RegExp. escaping special symbols.