From 76c2e0accb8a2b0fdda36eb0c986a411fadc7e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lipi=C5=84ski?= Date: Wed, 8 Nov 2017 22:40:28 +0100 Subject: [PATCH] Revert "Fix typo in `escapeRegExp` (#3448)" This reverts commit 102d9e34d71838c027b5fc3d9153187f50842c95. --- escapeRegExp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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