Closed black-06 closed 2 weeks ago
正则替换不适用该场景, 例如原来的
{ "src": "label:\"Add the *.docker.internal names to the host's /etc/hosts file (Requires password)\"", "dest": "label:\"将 *.docker.internal 名称添加到主机的 /etc/hosts 文件(需要密码)\"" },
因为本身带有 *, ., ( 等, 导致匹配不成功, 而且需要转义放在 config.json 内, 过于复杂, 所以修改为普通文本替换
*
.
(
添加了 warn log, 当某个字典从来没有使用过时打印 warn 信息以检查 config.json
为 4.34 版本添加了一些字典
正则替换不适用该场景, 例如原来的
因为本身带有
*
,.
,(
等, 导致匹配不成功, 而且需要转义放在 config.json 内, 过于复杂, 所以修改为普通文本替换添加了 warn log, 当某个字典从来没有使用过时打印 warn 信息以检查 config.json
为 4.34 版本添加了一些字典