MCPcopy Create free account
hub / github.com/Moli-X/Resources / Regex

Function Regex

Script/Parser.js:1818–1824  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

1816
1817//正则筛选, 完整内容匹配
1818function Regex(content) {
1819 var Preg0 = RegExp(Preg, "i")
1820 cnt = content //.split("tag=")[1]
1821 if (Preg0.test(cnt)) {
1822 return content
1823 }
1824}
1825
1826//正则删除, 完整内容匹配
1827function RegexOut(content) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected