Color filter for ending space

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

Color filter for ending space

Post by LittleBiG »

Sometimes files I get end with a space character which can break my process. I created a color filter to paint them red using the name filter "* .*" My problem is that it colors also the files containing space and dot in the filename which I don't care about. Is there a pattern which can match only the real end of the file name (so practically the base of the name, without extension)? I tried "* " without luck, because I think it means the ending space of the extension. Neither "* ." worked.

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

Re: Color filter for ending space

Post by admin »

Maybe "* .???" assuming your extensions have 3 characters.

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

Re: Color filter for ending space

Post by LittleBiG »

admin wrote: 27 Sep 2022 17:40 Maybe "* .???" assuming your extensions have 3 characters.
And another one for xlsx. "* .????" So there is no one row solution I guess.

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

Re: Color filter for ending space

Post by admin »

Yep.

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

Re: Color filter for ending space

Post by LittleBiG »

I see. By the way, I am just wondering why the "no extension pattern" works. The "*." Can you confirm that?

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

Re: Color filter for ending space

Post by admin »

for ending space? no, not here

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

Re: Color filter for ending space

Post by LittleBiG »

admin wrote: 27 Sep 2022 18:09 for ending space? no, not here
No, not related to the ending space. In general. That pattern "*." doesn't seem to color the files without extension.

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

Re: Color filter for ending space

Post by admin »

Hmmm, good point. It simply has never been implemented. Going to work... :twisted:

Post Reply