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
-regex and -path incompatible?
Re: -regex and -path incompatible?
Yes, this is a bug, -path is not converting the path to regex correctly.
-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.
-path enables full path matching for all search terms.es -path c:\ -r ^^winword\.exe$ returns zero hits
-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.