Now, if I search for zip, the results are containing also all zip archive files.
Is it possible to have by default searching only filenames, but without using functions, like zip !*.zip, zip !ext:zip?
I am asking that because there is already an ext: function, which can be used for searching extensions.
Example:
searching for zip to have displayed only files+folders with zip in the name and not in the extension.
[Solved] search only filenames
[Solved] search only filenames
Last edited by w64bit on Fri Jan 21, 2022 3:38 pm, edited 6 times in total.
Re: search only filenames
Everything needs a namepart: modifier so the extension is not checked, it's on my TODO list.
!regex:".*zip\.[^.]*(*SKIP)(*F)|^.*$"
zip at least once in the name part, and allow the extension to be zip:
regex:zip.*\.[^.]*
Match zip anywhere in the name part only:searching for zip to have displayed only files+folders with zip in the name and not in the extension.
!regex:".*zip\.[^.]*(*SKIP)(*F)|^.*$"
zip at least once in the name part, and allow the extension to be zip:
regex:zip.*\.[^.]*