13 lines
No EOL
357 B
JavaScript
Executable file
13 lines
No EOL
357 B
JavaScript
Executable file
// 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); }});
|
|
|
|
|
|
|
|
//////////////////
|
|
// WEBPACK FOOTER
|
|
// ./~/core-js/modules/core.regexp.escape.js
|
|
// module id = 1822
|
|
// module chunks = 4
|