mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07: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)
|
* See this [article on `RegExp` characters](http://www.regular-expressions.info/characters.html#special)
|
||||||
* for more details.
|
* for more details.
|
||||||
*/
|
*/
|
||||||
var reRegExpChars = /[.*+?^${}()|[\]\\]/g;
|
var reRegExpChars = /[.*+?^${}()|[\]\/\\]/g;
|
||||||
|
|
||||||
/** Used to detect functions containing a `this` reference */
|
/** Used to detect functions containing a `this` reference */
|
||||||
var reThis = /\bthis\b/;
|
var reThis = /\bthis\b/;
|
||||||
|
|||||||
Reference in New Issue
Block a user