multiple filenames in find bar

Discussion related to "Everything" 1.5 Alpha.
Post Reply
anmac1789
Posts: 668
Joined: Mon Aug 24, 2020 1:16 pm

multiple filenames in find bar

Post by anmac1789 »

Hello, how can I type multiple filenames in the find bar is there any way ? I have tried typing each term separated by a space..didn't work..
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: multiple filenames in find bar

Post by void »

The findbar is designed to search for only one name at a time.

To use regular expressions include the following at the start of your findbar search:
regex:

For example:

regex:(file1\.txt|file2\.txt)
anmac1789
Posts: 668
Joined: Mon Aug 24, 2020 1:16 pm

Re: multiple filenames in find bar

Post by anmac1789 »

void wrote: Thu Sep 07, 2023 12:03 am The findbar is designed to search for only one name at a time.

To use regular expressions include the following at the start of your findbar search:
regex:

For example:

regex:(file1\.txt|file2\.txt)
Typing the regex into the find bar (ctrl+F) didnt work. This only works when typing it into the main search bar. How are you using this syntax ?
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: multiple filenames in find bar

Post by void »



What findbar search did you try?

Please make sure there's no trailing space.
anmac1789
Posts: 668
Joined: Mon Aug 24, 2020 1:16 pm

Re: multiple filenames in find bar

Post by anmac1789 »

void wrote: Thu Sep 07, 2023 3:18 am

What findbar search did you try?

Please make sure there's no trailing space.
Do you have to locate a specific directory or can the findbar regex work on global search (ie without any search parameters) ?
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: multiple filenames in find bar

Post by void »

The findbar regex search will work with an empty (global) search.
anmac1789
Posts: 668
Joined: Mon Aug 24, 2020 1:16 pm

Re: multiple filenames in find bar

Post by anmac1789 »

void wrote: Thu Sep 07, 2023 3:28 am The findbar regex search will work with an empty (global) search.
alright, I think I made a mistake somewhere I will double check
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: multiple filenames in find bar

Post by void »

Everything 1.5.0.1356a fixes an issue with matching the special regex characters: $ and \b

Please make sure you are escaping any special regex characters.

regex: can be quite slow.
Expect a regex: findbar search to take about 1 second for 10million items.
Post Reply