Loading ccserver/tql.py +3 −3 Original line number Diff line number Diff line Loading @@ -87,9 +87,9 @@ class TqlQuery(object): RE_COND = re.compile(r'^(?P<name>[a-z-A-Z0-9_?*-]+)' r'((?P<operator>[!<>~:=]{1,3})' r'(?P<value>[^&$#]+?))?$') r'(?P<value>[^&$\^]+?))?$') RE_TAG = re.compile(r'^(?P<name>[a-z-A-Z0-9_-]+|[*])') RE_SEPARATOR = re.compile(r'(&|\$|#)') RE_SEPARATOR = re.compile(r'(&|\$|\^)') def __init__(self, query): self._conditions = [] Loading Loading @@ -164,7 +164,7 @@ class TqlQuery(object): raise TqlParsingError('Error while parsing, invalid tag ' 'name %s' % repr(tok)) elif sep == '#': elif sep == '^': if tok.isdigit(): lim = TqlLimit(int(tok)) self._conditions.append(lim) Loading Loading
ccserver/tql.py +3 −3 Original line number Diff line number Diff line Loading @@ -87,9 +87,9 @@ class TqlQuery(object): RE_COND = re.compile(r'^(?P<name>[a-z-A-Z0-9_?*-]+)' r'((?P<operator>[!<>~:=]{1,3})' r'(?P<value>[^&$#]+?))?$') r'(?P<value>[^&$\^]+?))?$') RE_TAG = re.compile(r'^(?P<name>[a-z-A-Z0-9_-]+|[*])') RE_SEPARATOR = re.compile(r'(&|\$|#)') RE_SEPARATOR = re.compile(r'(&|\$|\^)') def __init__(self, query): self._conditions = [] Loading Loading @@ -164,7 +164,7 @@ class TqlQuery(object): raise TqlParsingError('Error while parsing, invalid tag ' 'name %s' % repr(tok)) elif sep == '#': elif sep == '^': if tok.isdigit(): lim = TqlLimit(int(tok)) self._conditions.append(lim) Loading