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