mirror of https://github.com/jkjoy/sunpeiwen.git
6 lines
188 B
JavaScript
6 lines
188 B
JavaScript
|
require('../../modules/es6.regexp.search');
|
||
|
var SEARCH = require('../../modules/_wks')('search');
|
||
|
module.exports = function (it, str) {
|
||
|
return RegExp.prototype[SEARCH].call(it, str);
|
||
|
};
|