MCPcopy Index your code
hub / github.com/Moli-X/Resources / RegCheck

Function RegCheck

Script/Parser.js:459–466  ·  view source on GitHub ↗
(total, typen, paraname,regpara)

Source from the content-addressed store, hash-verified

457
458// regex 后的检查
459function RegCheck(total, typen, paraname,regpara) {
460 if(total.length == 0){
461 $notify("‼️ " + typen + " ➟ " + "⟦" + subtag + "⟧", "⛔️ 筛选正则: " + paraname + "=" + regpara, "⚠️ 筛选后剩余项为 0️⃣ , 请检查正则参数及原始链接", nan_link)
462 }else if((typen != "节点订阅" && Pntf0 !=0) || (typen == "节点订阅" && Pntf0 ==1)){
463 var nolist = total.length <= 10 ? emojino[total.length] : total.length
464 $notify("🤖 " + typen + " ➟ " + "⟦" + subtag + "⟧", "⛔️ 筛选正则: " + paraname + "=" + regpara, "⚠️ 筛选后剩余以下" + nolist + "个匹配项 \n ⨷ " + total.join("\n ⨷ "), sub_link)
465 }
466}
467//判断订阅类型
468function Type_Check(subs) {
469 var type = "unknown"

Callers 3

ResourceParseFunction · 0.85
Rewrite_FilterFunction · 0.85
HostNamecheckFunction · 0.85

Calls 2

$notifyFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…