2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 1371
|
2026-07-24 07:16:23 +00:00
|
|
|
// Function ID: 16496
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: regexTester
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [551, 1372, 518]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 1371 (regexTester)
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_2 = require("callBoundIntrinsic")("RegExp.prototype.exec");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function regexTester(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = arg0;
|
|
|
|
|
if (_require(1372)(arg0)) {
|
2026-07-20 16:05:17 +00:00
|
|
|
return function test(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return null !== outer1_2(closure_0, arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp3 = _require(518);
|
2026-07-20 16:05:17 +00:00
|
|
|
const prototype = tmp3.prototype;
|
|
|
|
|
tmp3 = new tmp3("`regex` must be a RegExp");
|
|
|
|
|
throw tmp3;
|
|
|
|
|
}
|
|
|
|
|
};
|