摘要:
1 使用match 不能加/g 否则无效 2 使用matchAll 需要先定义一个RegExp对象 const regexp = RegExp(/,"(.+)"\)/,'g'); const matches = str.matchAll(regexp); for (const match of ma 阅读全文
摘要:
谷歌浏览器chrome80 突然什么都打不开了 重装也没用 喔唷,崩溃啦 增加启动参数 --disable-features=RendererCodeIntegrity 阅读全文
摘要:
1 替换文件某一行 将文件./config/patchconfig/patch_config.json 的第二行替换为 "path": "../patchfiles", 将文件aaa.txt中的第三行替换为888 content='"path": "../patchfiles", ' sed -i 阅读全文