title: Python re.findall() is not working as expected
body: <p>I have the code: </p>
  
  <pre><code>import re
  sequence="aabbaa"
  rexp=re.compile("(aa|bb)+")
  rexp.findall(sequence)
  </code></pre>
  
  <p>This returns <code>['aa']</code></p>
  
  <p>If we have </p>
  
  <pre><code>import re
  sequence="aabbaa"
  rexp=re.compile("(aa|cc)+")
  rexp.findall(sequence)
  </code></pre>
  
  <p>we get <code>['aa','aa']</code></p>
  
  <p>Why is there a difference and why (for the first) do we not get <code>['aa','bb','aa']</code>?</p>
  
  <p>Thanks!</p>