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

Function escapeRegExp

Script/Parser.js:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27//常用量
28const Base64 = new Base64Code();
29const escapeRegExp = str => str.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); //处理特殊符号以便正则匹配使用
30var link1 = link0.split("#")[0]
31const qxpng = "https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png" // server sub-info link
32const subinfo_link = { "open-url": "https://t.me/QuanX_API", "media-url": "https://shrtm.nu/ebAr" };

Callers 1

RenameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected