Wild cards for folders
Wild cards for folders
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.
Re: Wild cards for folders
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
I am reconsidering the option to match wildcards anywhere in the filename.
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*\*
Re: Wild cards for folders
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?
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
I did not understand this. I am not very sure of the alphabet beyond c.\ab *c*\be*
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
Re: Wild cards for folders
Sorry, I meant to say was:
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:
The double quotes will escape the space.
Please try regex:
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 \
Code: Select all
\ab *c*\*
If you know there is a space between \ab and c, use the following search:
Code: Select all
\ab" "c*\*
Please try regex:
Code: Select all
regex:path:\\ab[^\\]*c.*\\
Re: Wild cards for folders
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?
The regex option throws more objects. By the way why in a regex search the queries are not boldened?
Re: Wild cards for folders
I have not implemented a regex highlighter yet.
I will consider it when I add unicode regex support.
I will consider it when I add unicode regex support.
Re: Wild cards for folders
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.
\ab *cd*\* in which only ab is highlighted. Those of the variants of cd are not presently done.
Re: Wild cards for folders
Added: highlight complex wildcard searches to my things to do list.
Thanks for the suggestion.
Thanks for the suggestion.