Hi,
I have
now also created 2
Filter macros: (Previously I had changed the code before a search query)
diff: new code
diff-old: old code
My
search queries for a different file structure(!):
Filter: Everything
Code: Select all
diff:"D:\totalcmd\Test 1\";"C:\totalcmd\Test 1\"
diff-old:"D:\totalcmd\Test 1\";"C:\totalcmd\Test 1\"
Results in Everything 1.5.0.1373a (x64):
-
If there is a folder with a space in the search query, I get NO result with the old or new code.
(To check, I searched for files that should be present in the search result and these could be found).
- If there is a subfolder with a space in the folder structure, I will get a result.
- If there is NO folder with a space in the
search query, then I get a / the same result with the old or new code.
OLD code:
Code: Select all
#if:<#stricmp:<#element:<$param:,;,1>,#element:<$param:,;,2>>==0,"!"> file: regex:#regex-escape:<#element:<$param:,;,1>>(.*$) | regex:#regex-escape:<#element:<$param:,;,2>>(.*$) unique:regmatch1;size;dm
NEW code:
Code: Select all
#if:<#stricmp:<#element:<$param:,;,1>,#element:<$param:,;,2>>==0,"!"> file: regex:[regex-escape:[element:$param:,;,1]](.*$) | regex:[regex-escape:[element:$param:,;,2]](.*$) unique:regmatch1;size;dm
Unfortunately, I had never tested a search query (filter macro) with spaces in the folder before.