Escape \W in selector grammar

This commit is contained in:
Thomas Krijnen
2022-10-14 11:30:11 +02:00
committed by GitHub
parent a34c0cb35c
commit 0810fa7564
@@ -37,7 +37,7 @@ class Selector:
filter: "[" filter_key (comparison filter_value)? "]"
filter_key: WORD | pset_or_qto
filter_value: ESCAPED_STRING | SIGNED_FLOAT | SIGNED_INT | BOOLEAN | NULL
pset_or_qto: /[^\W][^.=<>]*[^\W]/ "." /[^\W][^.=<>]*[^\W]/
pset_or_qto: /[^\\W][^.=<>]*[^\\W]/ "." /[^\\W][^.=<>]*[^\\W]/
lfunction: and | or
inverse_relationship: types | decomposed_by | bounded_by
types: "*"