mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 02:00:01 +00:00
Escape \W in selector grammar
This commit is contained in:
@@ -37,7 +37,7 @@ class Selector:
|
|||||||
filter: "[" filter_key (comparison filter_value)? "]"
|
filter: "[" filter_key (comparison filter_value)? "]"
|
||||||
filter_key: WORD | pset_or_qto
|
filter_key: WORD | pset_or_qto
|
||||||
filter_value: ESCAPED_STRING | SIGNED_FLOAT | SIGNED_INT | BOOLEAN | NULL
|
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
|
lfunction: and | or
|
||||||
inverse_relationship: types | decomposed_by | bounded_by
|
inverse_relationship: types | decomposed_by | bounded_by
|
||||||
types: "*"
|
types: "*"
|
||||||
|
|||||||
Reference in New Issue
Block a user