mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Fix #3628. Minor issue where regex queries didn't load properly.
This commit is contained in:
@@ -184,7 +184,7 @@ class ImportFilterQueryTransformer(lark.Transformer):
|
||||
elif args[0].data == "quoted_string":
|
||||
return args[0].children[0].value[1:-1].replace('\\"', '"')
|
||||
elif args[0].data == "regex_string":
|
||||
return args[0].children[0].value
|
||||
return "/" + args[0].children[0].value + "/"
|
||||
elif args[0].data == "special":
|
||||
if args[0].children[0].data == "null":
|
||||
return "NULL"
|
||||
|
||||
Reference in New Issue
Block a user