Add / to characters escaped by _.escapeRegExp

This commit is contained in:
John-David Dalton
2014-04-28 08:27:47 -07:00
parent a24ee0a331
commit 6528a434ce

View File

@@ -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/;