About regex of Everything V1.4.1.1024 (x64)

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ziyan chen
Posts: 1
Joined: Fri Oct 27, 2023 5:16 am

About regex of Everything V1.4.1.1024 (x64)

Post by ziyan chen »

I'm using Everything V1.4.1.1024 (x64) , not allowing ground brackets for grouping .

I'm learning the syntax of everything , but I have some problem :
I'm a little bit confused right now .
void
Developer
Posts: 16775
Joined: Fri Oct 16, 2009 11:31 pm

Re: About regex of Everything V1.4.1.1024 (x64)

Post by void »

| in Everything means OR.


The | needs to be escaped with double quotes:

regex:"gr(a|e)y"
regex:".*\.(mp4|ts)"



Otherwise, Everything sees:
regex:gr(a|e)y
as:
regex:gr(a OR e)y
(which breaks your regex pattern)



Please consider:

ext:mp4;ts
*.mp4 | *.ts

ext:
ziyan chen
Posts: 1
Joined: Fri Oct 27, 2023 5:16 am

Re: About regex of Everything V1.4.1.1024 (x64)

Post by ziyan chen »

Oh thank you : ) by the way I think it should be

Code: Select all

regex:".*\.(mp4|ts)$"
Last edited by ziyan chen on Fri Oct 27, 2023 6:06 am, edited 1 time in total.
Post Reply