diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-10-10 03:43:44 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-10-10 03:43:44 +0200 |
commit | abd94a7f5a50f43c797a11b53549ae48fff667c3 (patch) | |
tree | ab8ed457f65cdd72e13e0571d2975729428f1551 /node_modules/core-js/fn/regexp | |
parent | a0247c6a3fd6a09a41a7e35a3441324c4dcb58be (diff) |
add node_modules to address #4364
Diffstat (limited to 'node_modules/core-js/fn/regexp')
-rw-r--r-- | node_modules/core-js/fn/regexp/constructor.js | 2 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/escape.js | 2 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/flags.js | 5 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/index.js | 9 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/match.js | 5 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/replace.js | 5 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/search.js | 5 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/split.js | 5 | ||||
-rw-r--r-- | node_modules/core-js/fn/regexp/to-string.js | 5 |
9 files changed, 43 insertions, 0 deletions
diff --git a/node_modules/core-js/fn/regexp/constructor.js b/node_modules/core-js/fn/regexp/constructor.js new file mode 100644 index 000000000..90c13513d --- /dev/null +++ b/node_modules/core-js/fn/regexp/constructor.js @@ -0,0 +1,2 @@ +require('../../modules/es6.regexp.constructor'); +module.exports = RegExp;
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/escape.js b/node_modules/core-js/fn/regexp/escape.js new file mode 100644 index 000000000..d657a7d91 --- /dev/null +++ b/node_modules/core-js/fn/regexp/escape.js @@ -0,0 +1,2 @@ +require('../../modules/core.regexp.escape'); +module.exports = require('../../modules/_core').RegExp.escape;
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/flags.js b/node_modules/core-js/fn/regexp/flags.js new file mode 100644 index 000000000..ef84ddbd1 --- /dev/null +++ b/node_modules/core-js/fn/regexp/flags.js @@ -0,0 +1,5 @@ +require('../../modules/es6.regexp.flags'); +var flags = require('../../modules/_flags'); +module.exports = function(it){ + return flags.call(it); +};
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/index.js b/node_modules/core-js/fn/regexp/index.js new file mode 100644 index 000000000..61ced0b81 --- /dev/null +++ b/node_modules/core-js/fn/regexp/index.js @@ -0,0 +1,9 @@ +require('../../modules/es6.regexp.constructor'); +require('../../modules/es6.regexp.to-string'); +require('../../modules/es6.regexp.flags'); +require('../../modules/es6.regexp.match'); +require('../../modules/es6.regexp.replace'); +require('../../modules/es6.regexp.search'); +require('../../modules/es6.regexp.split'); +require('../../modules/core.regexp.escape'); +module.exports = require('../../modules/_core').RegExp;
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/match.js b/node_modules/core-js/fn/regexp/match.js new file mode 100644 index 000000000..400d0921e --- /dev/null +++ b/node_modules/core-js/fn/regexp/match.js @@ -0,0 +1,5 @@ +require('../../modules/es6.regexp.match'); +var MATCH = require('../../modules/_wks')('match'); +module.exports = function(it, str){ + return RegExp.prototype[MATCH].call(it, str); +};
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/replace.js b/node_modules/core-js/fn/regexp/replace.js new file mode 100644 index 000000000..adde0adf6 --- /dev/null +++ b/node_modules/core-js/fn/regexp/replace.js @@ -0,0 +1,5 @@ +require('../../modules/es6.regexp.replace'); +var REPLACE = require('../../modules/_wks')('replace'); +module.exports = function(it, str, replacer){ + return RegExp.prototype[REPLACE].call(it, str, replacer); +};
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/search.js b/node_modules/core-js/fn/regexp/search.js new file mode 100644 index 000000000..4e149d05a --- /dev/null +++ b/node_modules/core-js/fn/regexp/search.js @@ -0,0 +1,5 @@ +require('../../modules/es6.regexp.search'); +var SEARCH = require('../../modules/_wks')('search'); +module.exports = function(it, str){ + return RegExp.prototype[SEARCH].call(it, str); +};
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/split.js b/node_modules/core-js/fn/regexp/split.js new file mode 100644 index 000000000..b92d09fa6 --- /dev/null +++ b/node_modules/core-js/fn/regexp/split.js @@ -0,0 +1,5 @@ +require('../../modules/es6.regexp.split'); +var SPLIT = require('../../modules/_wks')('split'); +module.exports = function(it, str, limit){ + return RegExp.prototype[SPLIT].call(it, str, limit); +};
\ No newline at end of file diff --git a/node_modules/core-js/fn/regexp/to-string.js b/node_modules/core-js/fn/regexp/to-string.js new file mode 100644 index 000000000..29d5d037a --- /dev/null +++ b/node_modules/core-js/fn/regexp/to-string.js @@ -0,0 +1,5 @@ +'use strict'; +require('../../modules/es6.regexp.to-string'); +module.exports = function toString(it){ + return RegExp.prototype.toString.call(it); +};
\ No newline at end of file |