"!a OR b" includes "Membership_transter_form.pdf"-Why
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
"!a OR b" includes "Membership_transter_form.pdf"-Why
"!a OR b" includes "Membership_transter_form.pdf", even though it contains "a". Why?
-
admin
- Site Admin
- Posts: 66631
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: "!a OR b" includes "Membership_transter_form.pdf"-Why
Because it contains a "b"? 
FAQ | XY News RSS | XY X
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
Re: "!a OR b" includes "Membership_transter_form.pdf"-Why
While both "3239043b389bb65bd0a1ed3fbd539f7e.jpg" and "Membership_transter_form.pd" contains "a" AND "b", "!a OR b" excludes the former but includes the latter. Why?admin wrote:Because it contains a "b"?
-
LittleBiG
- Posts: 1848
- Joined: 08 Apr 2011 12:57
- Location: Win10x64
Re: "!a OR b" includes "Membership_transter_form.pdf"-Why
Because the "!a or b" is evaluated as standard, not boolean in your case.
EDIT:
However, I feel a little bug here. If master invert is unset and no smart detect of boolean, the "!a or b" should mean
Now ! is simply omitted.
EDIT:
However, I feel a little bug here. If master invert is unset and no smart detect of boolean, the "!a or b" should mean
Code: Select all
"!a" and "or" and "b"-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
Re: "!a OR b" includes "Membership_transter_form.pdf"-Why
Bingo! You're absolutely correct. By examining hundreds of file names one by one, it took me innumerous hours to reach the same conclusion. I discover each found item contains "or". Then, I realize I was fooled and misled by the beta log. In a glimpse, in the whole context of the beta log, you won't possibly doubt the "OR" as a logical operator. In fact, it's untrue. the "OR" is interpreted as a literal string "or". Don never hints the possibility of the Standard mode and the pattern being interpreted as a character string. On the contrary, Don worsens our confusion by the annotation of "NOT (a OR b)".LittleBiG wrote:Because the "!a or b" is evaluated as standard, not boolean in your case.
EDIT:
However, I feel a little bug here. If master invert is unset and no smart detect of boolean, the "!a or b" should meanNow ! is simply omitted.Code: Select all
"!a" and "or" and "b"
To see the attached files, you need to log into the forum.
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
Re: "!a OR b" includes "Membership_transter_form.pdf"-Why
My repeated tests confirm v15.70.0129 removes all recently mentioned minor 'File Files' anomalies.
While the "Enable extended pattern matching" option being disabled, in File Files, the !a or b pattern can include, say, "!aUR_Lib_Import.txt", as expected.
Nonetheless, referring to the v15.70.0129 beta log,For clarity, I would rephrase it as:
Without Extended Pattern Matching and no Boolean mode, while still observing LBM, this should be interpreted like this:
While the "Enable extended pattern matching" option being disabled, in File Files, the !a or b pattern can include, say, "!aUR_Lib_Import.txt", as expected.
Nonetheless, referring to the v15.70.0129 beta log,
Code: Select all
Without Extended Pattern Matching and no Boolean mode this should be interpreted like this:
"!a" AND "or" AND "b"Without Extended Pattern Matching and no Boolean mode, while still observing LBM, this should be interpreted like this:
-
armsys
- Posts: 557
- Joined: 10 Mar 2012 12:40
- Location: Hong Kong
Re: "!a OR b" includes "Membership_transter_form.pdf"-Why
Referring to the v15.70.0129 beta log, Don took painstaking efforts in augmenting clarity in the following ofttimes overlooked nuances:
1. Find Files vs. Quick Search. (The most important one!)
2. Factory vs Non-Factory defaults in respect of FindAllowMasterInvert.
3. "Enabled extended pattern matching" option.
Thank you Don.

1. Find Files vs. Quick Search. (The most important one!)
2. Factory vs Non-Factory defaults in respect of FindAllowMasterInvert.
3. "Enabled extended pattern matching" option.
Thank you Don.
-
admin
- Site Admin
- Posts: 66631
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: "!a OR b" includes "Membership_transter_form.pdf"-Why
OK, right.armsys wrote:My repeated tests confirm v15.70.0129 removes all recently mentioned minor 'File Files' anomalies.
While the "Enable extended pattern matching" option being disabled, in File Files, the !a or b pattern can include, say, "!aUR_Lib_Import.txt", as expected.
Nonetheless, referring to the v15.70.0129 beta log,For clarity, I would rephrase it as:Code: Select all
Without Extended Pattern Matching and no Boolean mode this should be interpreted like this: "!a" AND "or" AND "b"
Without Extended Pattern Matching and no Boolean mode, while still observing LBM, this should be interpreted like this:
FAQ | XY News RSS | XY X
XYplorer Beta Club