Why are I and X not highlighted?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Why are I and X not highlighted?

Post by therube »

Why are I and X not highlighted?
Should they be?

Search: regex:\s\S\s

File names:

Beatles, The - I Want To Hold Your Hand
Copy of Beatles, The - X Want To Hold Your Hand


Appears to have to do with the -<sp> preceding the \S (I & X)?
Why?

(Maybe I'm not understanding \s \S ?)
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Why are I and X not highlighted?

Post by NotNull »

therube wrote: Thu Aug 29, 2019 3:18 pm Why are I and X not highlighted?
first match (between [ ]) has already "eaten" the space that the "I" needs for a match:
Beatles, The[ - ]I Want To Hold Your Hand

If you had 2 spaces between "-" and "I", the I would be highlighted (I think; not tested ..):
Beatles, The[ - ][ I ]Want To Hold Your Hand



For others reading this: \s stands for a space character; \S stand for: Not-a-space character
void
Developer
Posts: 16684
Joined: Fri Oct 16, 2009 11:31 pm

Re: Why are I and X not highlighted?

Post by void »

It's a highlighting bug, it has been fixed for the next major version of Everything.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Why are I and X not highlighted?

Post by therube »

@NN, just to point out...

000[ a ]cat[ a ]dog[ a ]fish.mp4


(And I was asking in relation to highlighting rather then searching.)
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Why are I and X not highlighted?

Post by NotNull »

therube wrote: Sun Sep 01, 2019 1:26 pm (And I was asking in relation to highlighting rather then searching.)
I did understand that; I was just wrong (I think)
Post Reply