diff options
Diffstat (limited to 'node_modules/core-js/library/fn/regexp/search.js')
-rw-r--r-- | node_modules/core-js/library/fn/regexp/search.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/core-js/library/fn/regexp/search.js b/node_modules/core-js/library/fn/regexp/search.js new file mode 100644 index 000000000..4e149d05a --- /dev/null +++ b/node_modules/core-js/library/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 |