diff --git a/escapeRegExp.js b/escapeRegExp.js index 19dd9f1d4..503a103c7 100644 --- a/escapeRegExp.js +++ b/escapeRegExp.js @@ -6,7 +6,7 @@ const reRegExpChar = /[\\^$.*+?()[\]{}|]/g const reHasRegExpChar = RegExp(reRegExpChar.source) /** - * Escapes the `RegExp` special characters "^", "$", "\\", ".", "*", "+", + * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. * * @since 3.0.0