Globbing (wildcard matching)

Discussion related to "Everything" 1.5.
Post Reply
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Globbing (wildcard matching)

Post by NotNull »

Did something happen with the glob functionality?

Searching for c:\windows\*
gives the same results as
Searching for c:\windows\**

(meaning: including all descendants)

v1401a (x64)
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Globbing (wildcard matching)

Post by void »

No changes have been made to globs.

Please check your Tools -> Options -> Advanced -> wildcards_star_all setting.

wildcards_star_all
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Globbing (wildcard matching)

Post by NotNull »

Already checked that: still default (=0)

Also no macros that get in the way.
Updated to 1404: same results

No hurries; parent:c:\windows\ does the job too.

Proof:
Globbing - Everything 1.5.0.1404a (x64).jpg
Globbing - Everything 1.5.0.1404a (x64).jpg (57.62 KiB) Viewed 930 times
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Globbing (wildcard matching)

Post by NotNull »

Debug log:

Code: Select all

search 'c:\windows\*' filter '' sort 10 ascending 0
FOLDER TERM START 000000000ecd1fc8 M 0000000000afd9b0 N 0000000000afd880
000000000ecd1fc8 00018400 M 0000000000afd880 N 000000000f79bc18 OP 692
000000000f79bc18 20e00104 M 0000000000afd9b0 N 0000000000afd880 OP 163 c:\windows\*
FILE TERM START 000000000f79bc18 M 0000000000afd9b0 N 0000000000afd880
000000000f79bc18 20e00104 M 0000000000afd9b0 N 0000000000afd880 OP 163 c:\windows\*
parent cache 00000000071eee09
found 169656 files with 12 threads in 0.003420 seconds
parent cache 00000000071eee09
found 53710 folders with 12 threads in 0.001910 seconds
SET SORT 0
set sort 10 ascending 0 is valid 1 case 0
SET SORT 2 10
finished sort, time taken 0.007718 seconds
total size 32476562804, calculated in 0.001199 seconds

void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Globbing (wildcard matching)

Post by void »

Thanks for the log.
000000000f79bc18 20e00104 M 0000000000afd9b0 N 0000000000afd880 OP 163 c:\windows\*
163 is op: PATH STARTWITH ASCII
Tools -> Options -> Search -> Match whole filename when using wildcards is disabled.

Everything will do a partial wildcard match when this setting is disabled.

eg:
c:\windows\* will match c:\windows\system32\cmd.exe


workaround:

whole:c:\windows\*
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Globbing (wildcard matching)

Post by NotNull »

Enabling Match whole filename when using wildcards is disabled does indeed return nthe expected results.
Thanks!

This setting was disabled for many years; never noticed any issues .
Will leave it enabled and change my searches from \*very to \*very* to find "\everything"
Post Reply