Strange behavior of regex

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Strange behavior of regex

Post by ovg »

I have a few files like:

Code: Select all

Spec_130515_115635.57
Spec_130515_115636.57
Spec_130515_115637.57
Spec_130515_115638.57
and so on. I want to find files from 536 to 641. regex:Spec_130515_1156(3[6-9]|4[0-1]).57 doesn't work.
But Spec_130515_1156(3[6-9]|4[0-1]).57 works fine when I check Search->Enable Regex.
Am I missing something? Everything 1.4.1.877 x64
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: Strange behavior of regex

Post by void »

You will need to escape the | with double quotes when using regex:

regex:"Spec_130515_1156(3[6-9]|4[0-1]).57"
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Strange behavior of regex

Post by ovg »

Yes, it working fine! Thank you so much!!!
Post Reply