function escapeRegExp(subject) {
    return coerceToString(subject).replace(REGEXP_SPECIAL_CHARACTERS, '\\$&');
  }
Escapes the regular expression special characters `- [ ] / { } ( ) * + ? . \ ^ $ |` in `subject`.

@function escapeRegExp
@static
@since 1.0.0
@memberOf Escape
@param {string} [subject=''] The string to escape.
@return {string} Returns the escaped string.
@example
v.escapeRegExp('(hours)[minutes]{seconds}');
// => '\(hours\)\[minutes\]\{seconds\}'