Skip to content

Commit

Permalink
Revert "Fix typo in escapeRegExp (#3448)"
Browse files Browse the repository at this point in the history
This reverts commit 102d9e3.
  • Loading branch information
falsyvalues committed Nov 8, 2017
1 parent b36f21c commit 76c2e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion escapeRegExp.js
Expand Up @@ -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
Expand Down

2 comments on commit 76c2e0a

@jdalton
Copy link
Member

@jdalton jdalton commented on 76c2e0a Nov 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@falsyvalues Thank you!

@falsyvalues
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdalton As always 👍

Please sign in to comment.