cat \and dog

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

cat \and dog

Post by armsys »

In accordance with the beta log:
v13.20.0015 - 2013-11-11 18:19
+ Visual Filters: Now the AND-operator can be escaped by "\" (useful if you need to match " AND "):
cat and dog //matches items with "cat" and "dog" in the name
cat \and dog //matches items with "cat and dog" in the name
"cat and dog" //matches items named "cat and dog"
The screenshot shows otherwise. :oops:
In particular:
"?cat \and dog" (quotes excluded) matches "Cat and xx Dog.txt" (quotes excluded) as well. :veryconfused:
Please help. Thanks.
XY 13.20.0015
Win 7 Ult x64
To see the attached files, you need to log into the forum.

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: cat \and dog

Post by binocular222 »

it works as expected.
?cat \and dog
will search for files which contain all 3 words "cat", "and", "dog" in any order
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: cat \and dog

Post by armsys »

binocular222 wrote:it works as expected.
?cat \and dog
will search for files which contain all 3 words "cat", "and", "dog" in any order
If it works per your interpretation on which I agree, then the manual should have been amended as follows:
cat \and dog //matches items with "cat", "and", and "dog" in the name
binocular222, thanks for your help. :appl:
BTW, did Haiyan cause you any trouble? :blackstorm:

binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: cat \and dog

Post by binocular222 »

Thanks, I do not live in the coastal, so still fine
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

admin
Site Admin
Posts: 67224
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: cat \and dog

Post by admin »

The release notes were for Visual Filters. You are doing a name search here. They do not work 100% the same.

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: cat \and dog

Post by armsys »

admin wrote:The release notes were for Visual Filters. You are doing a name search here. They do not work 100% the same.
Oh, sorry. :oops:
Appreciate your reminder. Thanks. :appl:

Post Reply