title: re.findall which returns a dict of named capturing groups?
body: <p>Inspired by a now-deleted question; given a regex with named groups, is there a method like <code>findall</code> which returns a list of <code>dict</code> with the named capturing groups instead of a list of <code>tuple</code>?</p>
  
  <p>Given:</p>
  
  <pre><code>&gt;&gt;&gt; import re
  &gt;&gt;&gt; text = "bob sue jon richard harry"
  &gt;&gt;&gt; pat = re.compile('(?P&lt;name&gt;[a-z]+)\s+(?P&lt;name2&gt;[a-z]+)')
  &gt;&gt;&gt; pat.findall(text)
  [('bob', 'sue'), ('jon', 'richard')]
  </code></pre>
  
  <p>Should instead give:</p>
  
  <pre><code>[{'name': 'bob', 'name2': 'sue'}, {'name': 'jon', 'name2': 'richard'}]
  </code></pre>