Page 1 of 1

Color filter for ending space

Posted: 27 Sep 2022 17:37
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.

Re: Color filter for ending space

Posted: 27 Sep 2022 17:40
by admin
Maybe "* .???" assuming your extensions have 3 characters.

Re: Color filter for ending space

Posted: 27 Sep 2022 17:45
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.

Re: Color filter for ending space

Posted: 27 Sep 2022 17:50
by admin
Yep.

Re: Color filter for ending space

Posted: 27 Sep 2022 17:53
by LittleBiG
I see. By the way, I am just wondering why the "no extension pattern" works. The "*." Can you confirm that?

Re: Color filter for ending space

Posted: 27 Sep 2022 18:09
by admin
for ending space? no, not here

Re: Color filter for ending space

Posted: 27 Sep 2022 18:22
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.

Re: Color filter for ending space

Posted: 27 Sep 2022 18:42
by admin
Hmmm, good point. It simply has never been implemented. Going to work... :twisted: