mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Add / to characters escaped by _.escapeRegExp
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
* See this [article on `RegExp` characters](http://www.regular-expressions.info/characters.html#special)
|
||||
* for more details.
|
||||
*/
|
||||
var reRegExpChars = /[.*+?^${}()|[\]\\]/g;
|
||||
var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g;
|
||||
|
||||
/** Used to detect functions containing a `this` reference */
|
||||
var reThis = /\bthis\b/;
|
||||
|
||||
Reference in New Issue
Block a user