No extension in Visual filter

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

No extension in Visual filter

Post by LittleBiG »

Could somebody give me a logical explanation why *. doesn't work in visual filter for filtering files without extension, although the Custom File Icons and Portable File Associations accept it readily?

admin
Site Admin
Posts: 66322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: No extension in Visual filter

Post by admin »

Will work in next version.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: No extension in Visual filter

Post by LittleBiG »

Thanks, it would be nice, because my current solution is far from straightforward: |!*.*;attr: d

JohnM
Posts: 289
Joined: 08 Jun 2006 11:59
Location: Windows 11 Pro @100%

Re: No extension in Visual filter

Post by JohnM »

admin wrote:Will work in next version.
I have the latest beta and it doesn't work for me. In fact for me, any VF that ends with a "." fails to find any matches, but leaving the "." off finds them ok.
Windows 11 Pro x64
XYplorer 28.30.0000 x64

admin
Site Admin
Posts: 66322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: No extension in Visual filter

Post by admin »

:veryconfused: How can that be? Are you sure you are running v15.00.0520 or later?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: No extension in Visual filter

Post by bdeshi »

It works!
eg, \|*. lists dirs and extless files.
But I found a fatal bug.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

JohnM
Posts: 289
Joined: 08 Jun 2006 11:59
Location: Windows 11 Pro @100%

Re: No extension in Visual filter

Post by JohnM »

admin wrote:How can that be? Are you sure you are running v15.00.0520 or later?
I am using the latest beta 15.00.0533, see screenshots. The first has a VF with no trailing "." and it gets a match. The second, I add the trailing "." and no match. Note that the full file name is "aap.vim" and I would expect to get a match with both VFs.

It is obviously working for others so there must be a setting that is causing it not to work for me. The interesting thing will be to find what it is. :veryconfused:
To see the attached files, you need to log into the forum.
Windows 11 Pro x64
XYplorer 28.30.0000 x64

admin
Site Admin
Posts: 66322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: No extension in Visual filter

Post by admin »

You forgot the wildcards. "aap." will match only files called "aap".

admin
Site Admin
Posts: 66322
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: No extension in Visual filter

Post by admin »

PS: I'm going to change that. IMO you were right to expect auto-wildcards here: aap. = *aap*.

JohnM
Posts: 289
Joined: 08 Jun 2006 11:59
Location: Windows 11 Pro @100%

Re: No extension in Visual filter

Post by JohnM »

I updated to release 15.10.0000 and I don't see a difference. A VF with a trailing "." still doesn't find a match. See screenie.

Sorry to be so dense, but what am I doing wrong?
To see the attached files, you need to log into the forum.
Windows 11 Pro x64
XYplorer 28.30.0000 x64

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: No extension in Visual filter

Post by TheQwerty »

A trailing '.' now means items without extension.

'aap.' matches any item containing 'aap' without an extension ('gaap', 'aap', but not 'aap.vim')
'aap.*' matches any item starting with 'aap.' so 'aap.vim' or 'aap.vim.bak' but not 'gaap.txt'.
'*aap.*' matches any item containing 'aap.' be it 'aap.vim' or 'aap.vim.bak' or 'gaap.txt'.
'aap' is equivalent to '*aap*' and will match any item containing 'aap' so all of the above-mentioned items.

JohnM
Posts: 289
Joined: 08 Jun 2006 11:59
Location: Windows 11 Pro @100%

Re: No extension in Visual filter

Post by JohnM »

@TheQwerty

Thanks for the clarification.
Windows 11 Pro x64
XYplorer 28.30.0000 x64

Post Reply