Page 1 of 1

Quick search separator

Posted: 22 Oct 2016 10:06
by highend
The help files states (::/idh_addressbar.htm#idh_quicksearches):
The ";" (or "|") may be surrounded by any number of blanks. Built-in smartness will recognize a ";" that's not a separator but part of a folder name.
Try to paste something like this into the addresss bar:

Code: Select all

R:\1;R:\2;3?
It will fail with:
Search location currently not available
R:\1

While both folders (R:\1 && R:\1;2) do exist, so for some reason the built-in smartness fails if the path separator is a ";"
It works as expected when "|" is used instead

Re: Quick search separator

Posted: 24 Oct 2016 08:45
by admin
Confirmed. I could fix it for your case. But there comes a point where the overloading gets overtricky. So "|" really is the recommended separator in such situations.

Re: Quick search separator

Posted: 24 Oct 2016 08:51
by highend
I'm solving it with:
- Replace any existing "|" with ";" (if somebody mixes both up in the patterns)
- A regexmatch:

Code: Select all

(^|;)[^:\\]+?:\\(?:[^:\\]+?(?:(?=;)|\\|$))*"
+ Trimming unnecessary ";"'s

Re: Quick search separator

Posted: 24 Oct 2016 09:09
by admin
Does it cover all cases? There might be Environment variables, special folders, paper folders, volume labels, portable paths...

Re: Quick search separator

Posted: 24 Oct 2016 09:12
by highend
I'm using it to allow the use of drive serial numbers / volume labels in quick searches and haven't found a quirk yet. Didn't test anything beyond that scenario atm

Re: Quick search separator

Posted: 24 Oct 2016 22:20
by highend
Fixed with new beta :tup: