Page 1 of 1
"!a OR b" excludes "3239043b389bb65bd0a1ed3fbd539f-Why?
Posted: 20 Sep 2015 00:00
by armsys
"!a OR b" excludes "3239043b389bb65bd0a1ed3fbd539f7e.jpg", even though the (file)name contains "b".
It seems to deviate the basic rule of OR.
Why? What's the logic?
Re: "!a OR b" excludes "3239043b389bb65bd0a1ed3fbd539f-Why?
Posted: 20 Sep 2015 12:45
by admin
Logic: (NOT a) OR b
Re: "!a OR b" excludes "3239043b389bb65bd0a1ed3fbd539f-Why?
Posted: 20 Sep 2015 13:21
by armsys
admin wrote:Logic: (NOT a) OR b
I'm sorry. I don't get it.
OR returns TRUE if either or both operands is true.
In this case, "3239043b389bb65bd0a1ed3fbd539f7e.jpg" contains "b" and doesn't contain "a". So both operands are TRUE.
So it should be included. But it isn't!
Re: "!a OR b" excludes "3239043b389bb65bd0a1ed3fbd539f-Why?
Posted: 20 Sep 2015 13:30
by klownboy
But, there is an "a".

Re: "!a OR b" excludes "3239043b389bb65bd0a1ed3fbd539f-Why?
Posted: 20 Sep 2015 13:58
by armsys
klownboy wrote:But, there is an "a".

Yours sounds more like an AND operator, namely:
That's, in order to be included, it must satisfy BOTH conditions concurrently:
1. The name cannot contain an "a".
2. The name must contain a "b".
Does it sound like an AND operator to you?
On the other hand, why does "!a OR b" includes "Membership_transter_form.pd"
While both "3239043b389bb65bd0a1ed3fbd539f7e.jpg" and "Membership_transter_form.pd" contains "a" AND "b", "!a OR b" excludes the former but includes the latter. Why?
Re: "!a OR b" excludes "3239043b389bb65bd0a1ed3fbd539f-Why?
Posted: 20 Sep 2015 18:02
by admin
Please wait for the next beta. Better docs, less bugs...