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.
Unable to search partial extension
Re: Unable to search partial extension
See if a regex will do what you need.
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.)
regex:.*\..*231
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.)
Re: Unable to search partial extension
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.
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.