title: Find first x matches with re.findall
body: <p>I need limit re.findall to find first 3 matches and then stop.</p>
  
  <p>for example</p>
  
  <pre><code>text = 'some1 text2 bla3 regex4 python5'
  re.findall(r'\d',text)
  </code></pre>
  
  <p>then I get:</p>
  
  <pre><code>['1', '2', '3', '4', '5']
  </code></pre>
  
  <p>and I want: </p>
  
  <pre><code>['1', '2', '3']
  </code></pre>