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