lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.2k stars 57 forks source link

🐛 正则表达式中的 “^” doesn't work (regex) #104

Closed Nitmi closed 3 months ago

Nitmi commented 3 months ago

Flight Check

Describe the bug 如题,在开启 RexEx 的情况下,正则表达式中的首匹配“^”似乎无法在 EverythingPT 中 work。

Screenshots 含“^”的正则表达式: 含^测试

去掉上述“^”之后: 不含^测试

Logs (please upload or provide link to you log): Log_2024-05-20.txt

Version:

lin-ycv commented 3 months ago

的確有問題,但我看不出問題在哪,需要時間測試

lin-ycv commented 3 months ago

@Nitmi 麻煩測試新版,應該修正了 image

Nitmi commented 3 months ago

很抱歉,我这里问题依旧。 我先测试了 EverythingPT 81 版本,发现不行,又将 PT 升级到了 81 版本,并重启电脑,但还是不行。

lin-ycv commented 3 months ago

請改用debug的dll做以下幾個測試

  1. 設定中關閉regex, 使用 r: 收尋
  2. 開啟設定regex再收尋一次

上傳桌面上的 EverythingPT.log

Nitmi commented 3 months ago

现在完全没有问题了!

换了 debug 的 dll,不论上面的方法1,还是方法2,都测试正常; 又换回原本的 dll,测试都依旧正常。

不知道是不是我之前的测试有什么问题,总之,都没问题了。 谢谢你对 EverythingPT 的开发!

EverythingPT.log

lin-ycv commented 3 months ago

match path 與 regex 有些不相容,這是everything的限制,我這邊沒有辦法處理 https://www.voidtools.com/forum/viewtopic.php?p=67797#p67797