-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.01_CS01
-
Fix Version/s: V4.01_CS02
-
Component/s: ABNF
-
Labels:None
-
Environment:
Proposed
-
Proposal:
-
Resolution:
ABNF line 347 states
; The words AND, OR, and NOT are not a valid searchWord.
This is more restrictive than the corresponding prose text (bold parts for later reference below):
The search expression can contain any number of terms, phrases, or group expressions, along with the case-sensitive keywords NOT, AND, and OR, evaluated in that order.
Expressions prefaced with NOT evaluate to true if the expression is not matched, otherwise false.
Two expressions not enclosed in quotes and separated by a space are equivalent to the same two expressions separated by the AND keyword. Such expressions evaluate to true if both of the expressions evaluate to true, otherwise false.
Expressions separated by an OR evaluate to true if either of the expressions evaluate to true, otherwise false.
The prose text would allow using the words AND and OR as the first search word in an expression because the operators separate search expressions, and NOT as the only search word because the operator prefaces an expression.