title: python re, multiple matching groups
body: <p>I have a string:</p>
  
  <pre><code>s = '&amp;nbsp;&lt;span&gt;Mil&lt;\/span&gt;&lt;\/th&gt;&lt;td align=\"right\" headers=\"Y0 i7\"&gt;112&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y1 i7\"&gt;113&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y2 i7\"&gt;110&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y3 i7\"&gt;107&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y4 i7\"&gt;105&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y5 i7\"&gt;95&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y6 i7\"&gt;95&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y7 i7\"&gt;87&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y8 i7\"&gt;77&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y9 i7\"&gt;74&lt;\/td&gt;&lt;td align=\"right\" headers=\"Y10 i7\"&gt;74&lt;\/td&gt;&lt;\/tr&gt;'
  </code></pre>
  
  <p>I want to extract these numbers from the string:</p>
  
  <pre><code>112 113 110 107 105 95 95 87 77 74 74
  </code></pre>
  
  <p>I am no expert on regular expressions, so can anyone tell me, why this isn't returning any matches:</p>
  
  <pre><code>p = re.compile(r'&amp;nbsp;.*(&gt;\d*&lt;\\/td&gt;.*)*&lt;\\/tr&gt;')
  m = p.match(s)
  </code></pre>
  
  <p>I'm sure there is an html/xml parsing module that can solve my problem and I could also just split the string and work on that output, but I really want to do it with the re module. Thanks!</p>