The wildcard ?

Have a suggestion for "Everything"? Please post it here.
Post Reply
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

The wildcard ?

Post by Stamimail »

Currently ? is treated as one character for filename.extension (filename+extension)

Wouldn't it be better to improve the use of ?, by treating the ? as one character for filename or extension according to the dot.
So that placing double ?? in SearchBox will give in results not only folders with 2 characters but also files:
ab.exe
12.bat

Seacrh for:
.bmp ??
Results:
ab.bmp
12.bmp

Search for:
abc .b??
Results:
abc.bmp
abc.bat
void
Developer
Posts: 16739
Joined: Fri Oct 16, 2009 11:31 pm

Re: The wildcard ?

Post by void »

I'll consider ? matching only the name part.

For now the user will need to specify exactly what they want:
??|??.*
regex:^..\.[^.]*$

??.bmp
abc.b??
Post Reply