lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.21k stars 58 forks source link

[BUG] results are not aligned with Everthing after setting sort=1 #56

Closed HardLeft1004 closed 11 months ago

HardLeft1004 commented 1 year ago

Describe the bug in ver 0.72, setting sort=1 is usefull. After updated to 0.73, it's just not working

To Reproduce like this image

Expected behavior results are aligned with Everthing

Version (please provide the version of software you are using):

lin-ycv commented 1 year ago

Looks fine on my side, did you restart powertoys after changing the value in settings file? Also i see that you're using regex, make sure to enable it in powertoys settings image image

HardLeft1004 commented 1 year ago

I rebooted my laptop and reinstalled powertoys. Now when I search without using regex, it works fine image however, if regex is used, search results differ image

it seems that I should disable "regex" to make it right image

lin-ycv commented 11 months ago

so my previous statement was wrong, wildcard (*) is not part of regex, so you don't need to enable regex to use wild card. By enabling regex, you're telling the api to do the search slightly differently, that's why it's returning different results when enabling regex.