如下配置 文本匹配 和 img都没法匹配,文件和窗口可以正常匹配。求大佬指点!!!::
"features": [
{
"code": "tansuo",
"explain": "uTools Api 探索",
"icon": "./logo.png",
"platform": [
"win32",
"darwin",
"linux"
],
"cmds": [
"uTools",
"中文",
{
"type": "img",
"label": "图片匹配"
},
{
"type": "regex",
"label": "文本正则匹配",
"match": "/[\\u4E00-\\u9FA5]/"
},
{
"type": "files",
"label": "文件匹配",
"fileType": "file",
"match": "/^.*\\.(zip|rar|7z)$/"
},
{
"type": "window",
"label": "窗口动作",
"match": {
"app": [
"idea64.exe"
],
"title": "/.*plugin.json.*/"
}
}
]
}
]