X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/7fda4e3865bb7cc9b6ee15cfd3c62c207f585ec7..ba88e64fedc541e9e3766e258a6cfa051acf56d9:/linpy/linexprs.py?ds=sidebyside diff --git a/linpy/linexprs.py b/linpy/linexprs.py index b5864e1..b97f048 100644 --- a/linpy/linexprs.py +++ b/linpy/linexprs.py @@ -331,7 +331,7 @@ class LinExpr: return left / right raise SyntaxError('invalid syntax') - _RE_NUM_VAR = re.compile(r'(\d+|\))\s*([^\W\d_]\w*|\()') + _RE_NUM_VAR = re.compile(r'(\d+|\))\s*([^\W\d]\w*|\()') @classmethod def fromstring(cls, string):