title: Parse git - log file with python
body: <p>So i need to parse thing like this :</p>
  
  <pre><code>commit e397a6e988c05d6fd87ae904303ec0e17f4d79a2
  Author: Name &lt;email@email.com&gt;
  Date:   Sat Jul 9 21:29:10 2011 +0400
  
      commit message
  
   1 files changed, 21 insertions(+), 11 deletions(-)
  </code></pre>
  
  <p>and get Author name and number of insertions and deletions.</p>
  
  <p>For the name i have this:</p>
  
  <pre><code>re.findall(r"Author: (.+) &lt;",gitLog)
  </code></pre>
  
  <p>For the numbers i have this:</p>
  
  <pre><code>re.findall(r" (\d+) insertions\S+, (\d+) deletions",gitLog)
  </code></pre>
  
  <p>But i want to get a list of tuples of name,insertions and delitions with one regular-expression.</p>
  
  <p>I tryed to do somthing like</p>
  
  <pre><code>re.findall(r"Author: (.+) &lt;.+ (\d+) insertions\S+, (\d+) deletions",gitLog,re.DOTALL)
  </code></pre>
  
  <p>but it returns nothing...</p>
  
  <p>So what is my mistake? How regular-expression should look like?</p>
  
  <p>UPADTE:
  wRAR is right, but somehow when i read i file and try to parse it i get the whole file as a name , and then last insertion and deletion, so it matches the whole file but not a single commit... [.+] gets the whole file but not a part of a commit...</p>