Commits

Georg Brandl  committed 102ff9d

Recognize plus/minus numbers better.

  • Participants
  • Parent commits 705f5f5

Comments (0)

Files changed (1)

             m.append(map(try_float, line.split()))
     return m, c
 
-pm_re = re.compile(r'([0-9e.]+)\s+\+/-\s+([0-9e.]+)')
+pm_re = re.compile(r'-?([0-9e.]+)\s+\+/-\s+([0-9e.]+)')
 vv_re = re.compile(r'# ([a-zA-Z0-9_]+)\s+is at\s+([0-9e.]+)')
 
 _single_cache = {}