mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Support lower and mixed case operators
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
%token string:quoted [^"]+
|
||||
%token string:_quote " -> default
|
||||
|
||||
// Operators
|
||||
%token in IN
|
||||
%token and AND
|
||||
%token or OR
|
||||
%token except EXCEPT
|
||||
// Operators (too bad we can't use preg "i" flag)
|
||||
%token in [Ii][Nn]
|
||||
%token and [Aa][Nn][Dd]
|
||||
%token or [Oo][Rr]
|
||||
%token except [Ee][Xx][Cc][Ee][Pp][Tt]
|
||||
|
||||
// Rest
|
||||
%token collection collection
|
||||
|
Reference in New Issue
Block a user