Page 1 of 1

Search within search fails

Posted: 17 Jun 2016 21:46
by Papoulka
"Fresh" XY v16.90.0305, Win10 x64

I'm trying to use the syntax shown in Help under "Search In List", pasting this Help example into the address bar:

Code: Select all

goto "?*.jpg"; goto "<allitems ;>?dateM: y 2014";
But it gets confused, ending up with a bogus "location unavailable" error.

Re: Search within search fails

Posted: 17 Jun 2016 22:20
by highend
Works fine in my Win 10 x64 VM with .0305 XY (fresh)...

Re: Search within search fails

Posted: 17 Jun 2016 23:01
by admin
Works fine here, too. Win8.1, non-fresh.

Re: Search within search fails

Posted: 18 Jun 2016 00:12
by Papoulka
So - further testing shows that the error occurs only if folder(s) in the List pane have a semicolon in their name. I use semicolons so often in folder names that all my earlier tests included those.

Edit: actually, if any folder in the path (above or in the List) has a semicolon

Re: Search within search fails

Posted: 18 Jun 2016 06:06
by highend
<allitems ;> reacts on ";" as the delimiter for all entries and if your items contain this character...
Just use <allitems |> instead.

Don, maybe you should add a note that the actual delimiter character should not be present in any of your file / folder names for the example
to work correctly?

Re: Search within search fails

Posted: 18 Jun 2016 09:33
by admin
Yep, done. :tup:

Note also that the shorthands # and + use "|" as a separator already (and not ";"). The help was out of date here.
So this way it should have worked:

Code: Select all

goto "?*.jpg"; goto "#?dateM: y 2014";