Page 1 of 1

Why are I and X not highlighted?

Posted: Thu Aug 29, 2019 3:18 pm
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 ?)

Re: Why are I and X not highlighted?

Posted: Sat Aug 31, 2019 6:21 pm
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

Re: Why are I and X not highlighted?

Posted: Sun Sep 01, 2019 12:11 am
by void
It's a highlighting bug, it has been fixed for the next major version of Everything.

Re: Why are I and X not highlighted?

Posted: Sun Sep 01, 2019 1:26 pm
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.)

Re: Why are I and X not highlighted?

Posted: Sun Sep 01, 2019 8:56 pm
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)