aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/fn/regexp
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
commitabd94a7f5a50f43c797a11b53549ae48fff667c3 (patch)
treeab8ed457f65cdd72e13e0571d2975729428f1551 /node_modules/core-js/fn/regexp
parenta0247c6a3fd6a09a41a7e35a3441324c4dcb58be (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.js2
-rw-r--r--node_modules/core-js/fn/regexp/escape.js2
-rw-r--r--node_modules/core-js/fn/regexp/flags.js5
-rw-r--r--node_modules/core-js/fn/regexp/index.js9
-rw-r--r--node_modules/core-js/fn/regexp/match.js5
-rw-r--r--node_modules/core-js/fn/regexp/replace.js5
-rw-r--r--node_modules/core-js/fn/regexp/search.js5
-rw-r--r--node_modules/core-js/fn/regexp/split.js5
-rw-r--r--node_modules/core-js/fn/regexp/to-string.js5
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