Unable to search partial extension

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Fredass
Posts: 2
Joined: Thu Oct 03, 2019 2:51 pm

Unable to search partial extension

Post by Fredass » Thu Oct 03, 2019 2:55 pm

Hello !

I am unable to search for partial match in file extensions. For example I need to find all the files that have abc in their extensions. Be it file.abc, file.123abc, file.abc123 or file.1abc23.

I tried ext:abc and ext:"abc" but they only find exact matches (like file.abc) adding wildcards or spaces (ext:*abc ext:" abc") does not return anything.

Regex are off and turning "Match whole filename when using wildcards" on or off has not visible impact on the search results.

All these searches work correctly on filenames, but not on the extensions.

What am I missing ?

Thanks.

therube
Posts: 2419
Joined: Thu Sep 03, 2009 6:48 pm

Re: Unable to search partial extension

Post by therube » Thu Oct 03, 2019 3:19 pm

See if a regex will do what you need.

regex:.*\..*231
or regex:\..*231 (& in your case, regex:\..*abc)

2018.12-1231.JE
AP2SA.123118
2015.12-1231.JE
tenf.12312015
menu_zh_cn.gb2312.vim
JCS.DATA_b4.123109.final.pr.ARJ
Tenant Reference3 Joe Smith Jr. 231-101.doc


---


Note that as far as "extension" is concerned, an extension could be anything after a "dot".

So, ext:final

> SEC.DEP.05.FINAL

And, ext:final.pr

> CKB.123103.final.pr

And also, ext:123103.final.pr

> CKB.123103.final.pr


(Note that there are some peculiarities in there.)

Fredass
Posts: 2
Joined: Thu Oct 03, 2019 2:51 pm

Re: Unable to search partial extension

Post by Fredass » Thu Oct 03, 2019 3:50 pm

That does work, thanks !

Although this solution is enough for me it still seems like that non-regex behavior of ext: is not consistent with the regular search.

Thanks again.

Post Reply