[Invalid] Default Omit Filter excludes files without an extension

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

[Invalid] Default Omit Filter excludes files without an extension

Post by therube »

Default Omit Filter (regex:^[^\.]*$) excludes filenames without an extension.

So something like;
therube
.


(Directory names are found.)
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Default Omit Filter excludes files without an extension

Post by harryray2 »

I just tried this and it seems to exclude files with an extension.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Default Omit Filter excludes files without an extension

Post by NotNull »

When specifying an Omit filter, you can choose from type files/folders/files and folders:
Which one did you choose?

2022-04-27 23_04_33-1.5.0.1310a (x64) Everything - (1.5a).png
2022-04-27 23_04_33-1.5.0.1310a (x64) Everything - (1.5a).png (19.37 KiB) Viewed 2563 times

BTW: To exclude files/folders without extension,
!.
or
ext:
might be faster than
regex:^[^.]*$

(the backslash is not necessary in [^...] )
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Default Omit Filter excludes files without an extension

Post by harryray2 »

Oops, apologies..I just did a straight search. I didn't read the post properly.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Default Omit Filter excludes files without an extension

Post by NotNull »

(you should be the one to suggest the
!.
, @harryray. I got it from you!)
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: Default Omit Filter excludes files without an extension

Post by harryray2 »

Haha, yes..I just like playing around with any regex's to try to master the dark art of regex.

I speak several different languages but I'm totally buggered when it comes to making any sense of regex :? :lol:
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Default Omit Filter excludes files without an extension

Post by void »

Are you referring to the Omit Result Filter that is added when you right click a file with no extension and click Omit Extension?

The added regex:^[^\.]*$ omit filter for no extension is expected.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Default Omit Filter excludes files without an extension

Post by therube »

I had a sneaky feeling...

Not being familiar with "omit"
but seem to recall dealing with "temporary excludes" - ages ago (but then no more)

And it seems I must have had that "temporary exclude" left over from times past

So when looking to see what "omit" does, I clicked, Index -> Enable Omit Results, which changed my results.
And when I went to Organize Result Omissions, I saw the above mentioned filter - pre-existing.
Checking now in a new instance, doing the same there is nothing by default when I go to Organize.

So, the above (quote) is wrong too.
Cause settings are stored in Omit Results-15.csv (in my case) & that has nothing to do with "ages ago" (unless yesterday was "ages").

That being the case, not knowing what "omit" was, in trying to understand it, farting around, somewhere along the line, I must have inadvertently created it. Then on "learning" more, saw it there, & took it to be a defaulted value - which it is not.
Post Reply