From 102d9e34d71838c027b5fc3d9153187f50842c95 Mon Sep 17 00:00:00 2001 From: Younes Fkihi <13110140+younesfkihi@users.noreply.github.com> Date: Wed, 25 Oct 2017 21:57:20 +0200 Subject: [PATCH] Fix typo in `escapeRegExp` (#3448) --- escapeRegExp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/escapeRegExp.js b/escapeRegExp.js index 503a103c7..19dd9f1d4 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