Commit 4cd36121 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug with units regex in tql parser

parent bee30843
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ UNITS = {'k': 10 ** 3,


RE_UNIT = re.compile(r'(?P<num>[-+]?[0-9]+(\.[0-9]+)?)[ ]?'
                      '(?P<unit>%s$)' % '|'.join(UNITS), re.IGNORECASE)
                      '(?P<unit>%s)$' % '|'.join(UNITS), re.IGNORECASE)

class TqlLexer(object):