title: Python regex find all matches
body: <p>I'm using python 2.7 re library to find all numbers written in scientific form in a string. I'm using the following code:</p>
  
  <pre><code>import re
  y = re.findall(".([0-9]+\.[0-9]+[eE][-+]?[0-9]+).","{8.25e+07|8.26206e+07}")
  print y
  </code></pre>
  
  <p>However, the output is only <code>['8.25e+07']</code> while I'm expecting something like <code>[('8.25e+07'),(8.26206e+07)]</code>. I've been trying around but couldn't find where the problem is. If I input <code>y = re.findall(".([0-9]+\.[0-9]+[eE][-+]?[0-9]+).","|8.26206e+07}")</code> then it gives <code>['8.26206e+07']</code> so the pattern is matching the second number but I don't get it why it doesn't match both at the same time.</p>