Configring node js.
This commit is contained in:
5
node_modules/core-js/modules/core.regexp.escape.js
generated
vendored
Normal file
5
node_modules/core-js/modules/core.regexp.escape.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// https://github.com/benjamingr/RexExp.escape
|
||||
var $export = require('./_export')
|
||||
, $re = require('./_replacer')(/[\\^$*+?.()|[\]{}]/g, '\\$&');
|
||||
|
||||
$export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
|
||||
Reference in New Issue
Block a user