Wild cards for folders

Have a suggestion for "Everything"? Please post it here.
Post Reply
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Wild cards for folders

Post by nagan »

If I am sure of a folder c:\ab cde exists a search for \ab cde\leads to the correct result lisiting all the objects of the folder .But the search term has to be accurate. Can something like \ab c*\be provided for as a possible search (might be equivalent to search path) if not contradicting any prevailing accepted practice/norms.
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Wild cards for folders

Post by void »

Wildcards match the entire filename when match path is enabled either through the search options or by including a \

Please make sure you enclose your wildcard searches with *'s
Otherwise, Everything will look for a full path that starts with C and ends with \be

Code: Select all

\ab *c*\*
I am reconsidering the option to match wildcards anywhere in the filename.
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Re: Wild cards for folders

Post by nagan »

Recently I was checking "\ab c". Logically folders having a name ab and c in the file or extension is understandable. But particularly few files crop up starting with ab and having c anywhere in the file or in the extension. Ok?
\ab *c*\be*
I did not understand this. I am not very sure of the alphabet beyond c.
As I said earlier if "\ab cde\" matches path so long as the directory name is entered correctly.What could be the wild card query if I know "ab c*". Of course \ab path:c will work. But it also finds folders \abxx\yg\cf recursively.

Thanks for taking the time in explaining the points
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Wild cards for folders

Post by void »

Sorry, I meant to say was:

Code: Select all

\ab *c*\*
But this will still match \abxx\yg\cf\afile.txt like you mentioned.

If you know there is a space between \ab and c, use the following search:

Code: Select all

\ab" "c*\*
The double quotes will escape the space.

Please try regex:

Code: Select all

regex:path:\\ab[^\\]*c.*\\
What this basically means is the full path contains \\ab followed by any character except a backslash \ (we want c to follow ab in the same filename), followed by the letter c, followed by a \
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Re: Wild cards for folders

Post by nagan »

So far \ab path:c is the one getting near the results. Or enable path while searching.
The regex option throws more objects. By the way why in a regex search the queries are not boldened?
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Wild cards for folders

Post by void »

I have not implemented a regex highlighter yet.
I will consider it when I add unicode regex support.
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Re: Wild cards for folders

Post by nagan »

When you implement highlighting for regex kindly consider them for such instances like
\ab *cd*\* in which only ab is highlighted. Those of the variants of cd are not presently done.
void
Developer
Posts: 17153
Joined: Fri Oct 16, 2009 11:31 pm

Re: Wild cards for folders

Post by void »

Added: highlight complex wildcard searches to my things to do list.

Thanks for the suggestion.
Post Reply