mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Revert "Fix typo in escapeRegExp (#3448)"
This reverts commit 102d9e34d7.
This commit is contained in:
@@ -6,7 +6,7 @@ const reRegExpChar = /[\\^$.*+?()[\]{}|]/g
|
|||||||
const reHasRegExpChar = RegExp(reRegExpChar.source)
|
const reHasRegExpChar = RegExp(reRegExpChar.source)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Escapes the `RegExp` special characters "^", "$", "\\", ".", "*", "+",
|
* Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
|
||||||
* "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
|
* "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user