Urara-Blog/node_modules/.pnpm-store/v3/files/47/bd1aba35cec59e49236c6f0ce3ca1e8fbd3d9121e0dbb6b672f583ceec4e2185aa3799f25f314b4919e1b29c4dc40997761fc6f9243c7c58060cc41170220a
2022-08-14 01:14:53 +08:00

9 lines
226 B
Text

'use strict';
var callBound = require('call-bind/callBound');
var $exec = callBound('RegExp.prototype.exec');
module.exports = function regexTester(regex) {
return function test(s) { return $exec(regex, s) !== null; };
};