swc/crates/swc_ecma_minifier/tests/full/next-30498/1/output.js

2 lines
309 B
JavaScript
Raw Normal View History

class a extends BaseSchema{matches(b,c){let d=!1,e,f;return c&&("object"==typeof c?{excludeEmptyString:d=!1,message:e,name:f}=c:e=c),this.test({name:f||"matches",message:e||string.matches,params:{regex:b},test:a=>isAbsent(a)||""===a&&d|| -1!==a.search(b)})}}(function(){return new a()}).prototype=a.prototype