Add support for regular expressions on Exclude option

Have a suggestion for "Everything"? Please post it here.
Post Reply
instigator
Posts: 16
Joined: Wed Jun 01, 2011 1:03 am

Add support for regular expressions on Exclude option

Post by instigator »

That'll be a killing feature. Example, I want to exclude all the files who start with a single ".,$,%", because most of the times this files/folders are not directly use by the user, but I don't want to exclude files/folders who start with "...,etc", in that scenenario a regexp filter is the solution.
Hope you understand this need and add this awesome feature.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add support for regular expressions on Exclude option

Post by void »

I will consider regex excludes, but for now is it possible to use wildcards?

Try adding the following folder filter in the exclude option page:

Code: Select all

$*
TTTTII
Posts: 11
Joined: Mon Aug 08, 2016 11:58 pm

Re: Add support for regular expressions on Exclude option

Post by TTTTII »

I realize this is an older thread, but it seems your regex engine still doesn't include an exclude. This would be extremely useful, though I realize not many know regexes well so it may not be a big priority for you. Any other additions to the engine would be great as well.

I do appreciate that support which you do offer for them. And thank you again for a fantastic tool.
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add support for regular expressions on Exclude option

Post by void »

Added regex support for exclude filters in Everything 819b or later.

To use regex, prefix your filter with regex:
For example, to exclude filenames starting with foo:
regex:^foo
harryray2
Posts: 1049
Joined: Sat Oct 15, 2016 9:56 am

Re: Add support for regular expressions on Exclude option

Post by harryray2 »

A bit confused, isn't regex:^ used to find start of filename?

Thanks...
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Add support for regular expressions on Exclude option

Post by void »

With regex, ^ matches the start of the filename. Where have I lost you, I might be able to help.

My example is not the best, something more practical might be excluding the recycle bin on volumes D-Z:
regex:^[D-Z]:\$RECYCLE.BIN
horst.epp
Posts: 1332
Joined: Fri Apr 04, 2014 3:24 pm

Re: Add support for regular expressions on Exclude option

Post by horst.epp »

harryray2 wrote:A bit confused, isn't regex:^ used to find start of filename?

Thanks...
Yes it is, but we are talking about the exclude list !
Post Reply