-regex and -path incompatible?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
aussieboykie
Posts: 35
Joined: Sun Mar 08, 2015 11:05 pm

-regex and -path incompatible?

Post by aussieboykie »

Example:

es -r ^^winword\.exe$ correctly generates..

C:\Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE

es -path c:\ -r ^^winword\.exe$ returns zero hits

Using -path works fine with a non-regex search.

Regards, AB
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: -regex and -path incompatible?

Post by void »

Yes, this is a bug, -path is not converting the path to regex correctly.
es -path c:\ -r ^^winword\.exe$ returns zero hits
-path enables full path matching for all search terms.
-r enables regex for all search terms.

Everything will automatically use full path matching when you use <drive letter>:

Please try searching for:
es -path c:\ regex:^^WINWORD.EXE$

-or-

es c: regex:^^WINWORD.EXE$

-or-

es -r ^^c:.*\\WINWORD.EXE$

Thanks for the bug report.
Post Reply