5 lines
135 B
JavaScript
5 lines
135 B
JavaScript
require('../../modules/es.regexp.test');
|
|
|
|
module.exports = function (re, string) {
|
|
return RegExp.prototype.test.call(re, string);
|
|
};
|