find a file using wildcards

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
sassoon12
Posts: 10
Joined: Wed Jun 16, 2021 3:29 pm

find a file using wildcards

Post by sassoon12 »

If I enter CRTMR*json I get no results, but just CRTMR gives a ton of results including a file named "CRTMR_Mapping.json". but it also returns class files as well as other stuff that I don't want to see. CRTMR*json should return just files that end in json and start with CRTMR. How can I change it ?
Attachments
Screenshot 2021-10-06 153909.png
Screenshot 2021-10-06 153909.png (26.12 KiB) Viewed 6834 times
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: find a file using wildcards

Post by NotNull »

When you click on Search in the menu bar, Is Enable Regex enabled ? If so, disable it.

For testing purposes, make sure only Everything is enabled in the Search menu and re-try your search.

Do you see your "CRTMR_Mapping.json" among the results?
sassoon12
Posts: 10
Joined: Wed Jun 16, 2021 3:29 pm

Re: find a file using wildcards

Post by sassoon12 »

Unfortunately this didnt work. I enabled regex and disabled it and nothing changed. Unless there is something else i need to do to either rebuild the index or something.

"For testing purposes, make sure only Everything is enabled in the Search menu and re-try your search.'" --- This is how it was set before.
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: find a file using wildcards

Post by void »

Please try disabling Match Path from the Search menu.
-If Match path is enabled, Everything will try to match the whole path and filename against CRTMR*json


Or, consider searching for:

*\CRTMR*json


Or, consider matching wildcards anywhere in the filename:
  • In Everything, from the Tools menu, click Options.
  • Click the Search tab on the left.
  • Uncheck Match whole filename when using wildcards.
  • Click OK.

Improving wildcard matching is in development.
sassoon12
Posts: 10
Joined: Wed Jun 16, 2021 3:29 pm

Re: find a file using wildcards

Post by sassoon12 »

I tried disabling/enabling match path and *\CRTMR*json with no luck.

I also tried Uncheck Match whole filename when using wildcards.

As for it being in development I know this used to work for me.
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: find a file using wildcards

Post by void »

CRTMR*json should return just files that end in json and start with CRTMR
This is what should happen.



What search options are enabled under the Search menu?
What search options are enabled under Tools -> Options -> Search?
Is there anything shown in the status bar on the right?
sassoon12
Posts: 10
Joined: Wed Jun 16, 2021 3:29 pm

Re: find a file using wildcards

Post by sassoon12 »

See attachments
Attachments
Screenshot 2021-10-12 131120.png
Screenshot 2021-10-12 131120.png (14.71 KiB) Viewed 6342 times
Screenshot 2021-10-12 131153.png
Screenshot 2021-10-12 131153.png (19.48 KiB) Viewed 6342 times
Screenshot 2021-10-12 131218.png
Screenshot 2021-10-12 131218.png (1.59 KiB) Viewed 6342 times
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: find a file using wildcards

Post by therube »

Is Enable Regex enabled ? If so, disable it.
With Regex enabled, CRTMR*json, says to find CRMT, followed by 0 or more R's, followed by json.
So CRTMjson or CRTMRjson or CRTMRRRjson or...

If you wanted to keep Regex in there, you could do CRTMR.*json, which says to find CRTMR, followed by any number of characters, followed by json (& potentially followed by anything else).

^CRTMR.*json$

Find file names that begin with CRTMR, followed by any (or no more) character(s), & ending with json.


(Match Path will affect what is returned, & for your use you're most likely going to need to disable it to get results.)
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: find a file using wildcards

Post by void »

Thank you for the screenshots.

Please disable the following under the Search menu:
Disable Match Whole Word
Disable Match Path
Disable Regex.


Please enable the following under Tools -> Options -> Search:
Enable Match whole filename when using wildcards.


Does searching for CRTMR*json find the expected results now?
sassoon12
Posts: 10
Joined: Wed Jun 16, 2021 3:29 pm

Re: find a file using wildcards

Post by sassoon12 »

Disable Regex. That did it. THANK YOU :D :D :D

THANK YOU
THANK YOU
THANK YOU
Post Reply