Enable Regex doesn't appear to work

Found a bug in "Everything"? report it here
Post Reply
JMW
Posts: 7
Joined: Thu Jul 03, 2014 3:44 pm

Enable Regex doesn't appear to work

Post by JMW »

Hi,

Using .679b I tried a number of the regex operators - none worked with regex enabled.
With regex not enabled the |, *, ?, and ! (all the booleans and wildcards) worked, although the space between the operator and the argument was sometimes necessary, and sometimes not depending on which operator was being used. With regex enabled none of these worked.

All other regex operators listed in the FAQ notes did not work.

Maybe I'm not employing regex properly:
I have a lot of files with "Cessna" in the name. Using: s{1,2} returns nothing with regex enabled or not enabled.

Thanks,
John
therube
Posts: 4625
Joined: Thu Sep 03, 2009 6:48 pm

Re: Enable Regex doesn't appear to work

Post by therube »

LU.*EERS finds:

> The Lumineers
&
> Woodstock '69 - Jefferson Airplane - Volunteers

So in that respect, Regex does look to be working.
Now the syntax that you may need, that's a different situation?

TRANS.*S{3,3} finds:

> Transatlantic Railroad - Expresss to Oblivion

So again its working.

? http://www.zytrax.com/tech/web/regex.htm?pf=yes


(I'm still on .678b.)
JMW
Posts: 7
Joined: Thu Jul 03, 2014 3:44 pm

Re: Enable Regex doesn't appear to work

Post by JMW »

tried using your .* syntax in .679b - no joy, but I'll keep working at it.
JMW
Posts: 7
Joined: Thu Jul 03, 2014 3:44 pm

Re: Enable Regex doesn't appear to work

Post by JMW »

Found the problem.

I often open Everything from the file context menu on a specific folder.
When I do that the folder path automatically shows up in the search window with a: " appended.
Doing a regex search from there doesn't work.
The only thing that can be in the search window is the regex expression - that works.

Not sure if it's worth "fixing", maybe just note that characteristic in the regex help section.
JMW
Posts: 7
Joined: Thu Jul 03, 2014 3:44 pm

Re: Enable Regex doesn't appear to work

Post by JMW »

...on second thought:

It probably is worth fixing somehow.
When I do a regex searching all my files, about 90% of what shows up is not what I'm looking for (a lot of chaff).
If I isolate on a folder containing files I'm looking for, 90% of what I'm looking for shows up.

Also, some of the options in the beta could bear with an explanation; e.g., What does "Allow literal operators" do exactly?
void
Developer
Posts: 15401
Joined: Fri Oct 16, 2009 11:31 pm

Re: Enable Regex doesn't appear to work

Post by void »

Try using the regex modifier:

Code: Select all

regex:^foobar$
Note: regex must be disabled from the search menu.
Also, some of the options in the beta could bear with an explanation; e.g., What does "Allow literal operators" do exactly?
Allow literal operators allows you to use AND, OR and NOT as operators.

By default, to search for abc or 123, you must search for:

Code: Select all

ABC|123
Enabling Allow literal operators, allows you to search for:

Code: Select all

ABC OR 123
http://www.voidtools.com/support/everyt ... ns/#search
JMW
Posts: 7
Joined: Thu Jul 03, 2014 3:44 pm

Re: Enable Regex doesn't appear to work

Post by JMW »

Oooops, Sorry. I got stuck on reading the FAQ page and didn't look into the extensive support pages.

Thanks
Post Reply