title: Regex, find first - Python
body: <pre><code>i="&lt;wx._controls.Button; proxy of &lt;Swig Object of type 'wxButton *' at 0x2887828&gt; &gt;]], [[[41, 183], 'Button', &lt;wx._controls.Button; proxy of &lt;Swig Object of type 'wxButton *' at 0x28879d0&gt; &gt;]]]"
  
  m = re.findall("&lt;wx.(.*)&gt; &gt;", i)
  </code></pre>
  
  <p>will give me </p>
  
  <pre><code>["&lt;wx._controls.Button; proxy of &lt;Swig Object of type 'wxButton *' at 0x2887828&gt; &gt;]], [[[41, 183], 'Button', &lt;wx._controls.Button; proxy of &lt;Swig Object of type 'wxButton *' at 0x28879d0&gt; &gt;"]
  </code></pre>
  
  <p>However I want it to give me, </p>
  
  <pre><code>["&lt;wx._controls.Button; proxy of &lt;Swig Object of type 'wxButton *' at 0x2887828&gt; &gt;","&lt;wx._controls.Button; proxy of &lt;Swig Object of type 'wxButton *' at 0x28879d0&gt; &gt;"]
  </code></pre>
  
  <p>The regex is searching all the way until the end, I would like to take all the parts out that match the regex, Does anyone know a solution to this?</p>