8000 Fix typo in `escapeRegExp` (#3448) · lodash/lodash@102d9e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 102d9e3

Browse files
younesfkihijdalton
authored andcommitted
Fix typo in escapeRegExp (#3448)
1 parent e8c87cf commit 102d9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

escapeRegExp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const reRegExpChar = /[\\^$.*+?()[\]{}|]/g
66
const reHasRegExpChar = RegExp(reRegExpChar.source)
77

88
/**
9-
* Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
9+
* Escapes the `RegExp` special characters "^", "$", "\\", ".", "*", "+",
1010
* "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
1111
*
1212
* @since 3.0.0

0 commit comments

Comments
 (0)
0