title: Regex to match a capturing group one or more times
body: <p>I'm trying to match pair of digits in a string and capture them in groups, however i seem to be only able to capture the last group.</p>
  
  <pre><code>Regex:
  (\d\d){1,3}
  </code></pre>
  
  <p>Input String: 123456 789101</p>
  
  <p>Match 1:    123456<br>
    Group 1:  56       </p>
  
  <p>Match 2:    789101<br>
    Group 1:  01      </p>
  
  <p>What I want is to capture all the groups like this:
  Match 1:    123456<br>
    Group 1:  12<br>
    Group 2:  34<br>
    Group 3:  56</p>
  
  <p><strong>* Update</strong><br>
  It looks like Python does not let you capture multiple groups, for example in .NET you could capture all the groups in a single pass, hence re.findall('\d\d', '123456') does the job.</p>