Issue #1 new
Queries with parenthesis fail which makes me think that nested structures cannot be generated.
Traceback (most recent call last): File "script.py", line 503, in <module> pt_parser() File "script.py", line 486, in pt_parser result = p.parse('(taco:cat)') File "/Library/Python/2.7/site-packages/mgoquery.py", line 90, in parse r = self._parser.parseString(s) File "/Library/Python/2.7/site-packages/pyparsing.py", line 1006, in parseString raise exc pyparsing.ParseException: Expected """ (at char 0), (line:1, col:1)
A query like this can not be converted:
(metric:if_octets.rx AND _missing_:tacocat) AND ((plugin_instance:eth*) AND (plugin:interface) AND (host:localhost) AND NOT (env:dev))
This project has so much potential and I would love it if this were possible.