Easter egg?

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

Easter egg?

Post by NotNull »

Just found a new (undocumented?) feature: the use of \\ in searches to activate wildcard-matching.
For example searching for
win\\ot
will get expanded to
**win**\**ot**
.
It will find C:\Windows\system32\notepad.exe (among others).


And it is intentional too. This is what the debug log has to say about it:

Code: Select all

	search 'win\\ot' filter '' sort 10 ascending 0
	expanded **win**\**ot**
	check *\* win**\**ot
	fast star path star search win
	fast star path star search ot
	fast star path star search win
	fast star path star search ot
(the processing operates independent of the Match whole filename when using wildcards configuration, which makes it even better)

I like this feature a lot!!


Anyway .... Happy Easter!
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Easter egg?

Post by void »

To set the path search type:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    path search
  • Select: path_search_type
  • Set the value to one of the following:
    • Convert windows\\system32 to **windows**\**system32** (default)
    • Convert windows\system32 to **windows*\*system32**
    • Convert windows\system32 to **windows**\**system32**
    • Remove a single path separator prefix or suffix and keep matching the full path.
    • None.
    • Convert win\\sys to win**\sys**
    • Convert win\sys to win*\sys**
    • Convert win\sys to win**\sys**
  • Click OK.
path_search_type



Happy Easter!
Post Reply