bugfix multiword values
diff --git a/src/main/antlr/CollectionQuery.g4 b/src/main/antlr/CollectionQuery.g4
index 5949b73..d3b25b4 100644
--- a/src/main/antlr/CollectionQuery.g4
+++ b/src/main/antlr/CollectionQuery.g4
@@ -52,7 +52,7 @@
NL : [\r\n] -> skip;
ws : WS+;
-WORD : ALPHABET* ALPHA ALPHABET*; // needs to have at least one alphabetical letter
+WORD : ALPHABET* ALPHA ALPHABET*; // needs to have at least one alphabetical letter (non-numeric)
/*
* Regular expressions
@@ -139,11 +139,15 @@
value
: WORD
-| '"' (WORD ws*)+'"'
+| multiword
| date
| regex
;
+multiword
+: '"' WORD+ '"'
+;
+
relation
: (expr|exprGroup) booleanOp (expr|exprGroup|relation)
;