All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules.core.regexp.escape.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
// https://github.com/benjamingr/RexExp.escape
var $export = require('./_export');
var $re = require('./_replacer')(/[\\^$*+?.()|[\]{}]/g, '\\$&');

$export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } });




© 2015 - 2024 Weber Informatics LLC | Privacy Policy