diff --git a/confluent_server/confluent/noderange.py b/confluent_server/confluent/noderange.py index 17375150..76828717 100644 --- a/confluent_server/confluent/noderange.py +++ b/confluent_server/confluent/noderange.py @@ -106,7 +106,7 @@ class NodeRange(object): self.endpage = None self.cfm = config try: - elements = _parser.parseString("(" + noderange + ")").asList()[0] + elements = _parser.parseString("(" + noderange + ")", parseAll=True).asList()[0] except pp.ParseException as pe: raise Exception("Invalid syntax") if noderange[0] in ('<', '>'):