title: Regular expression group capture with multiple matches
body: <p>Quick regular expression question.<br>
  I'm trying to capture multiple instances of a capture group in python (don't think it's python specific), but the subsequent captures seems to overwrite the previous.  </p>
  
  <p>In this over-simplified example, I'm essentially trying to split a string:</p>
  
  <p><pre>x = 'abcdef'
  r = re.compile('(\w){6}')
  m = r.match(x)
  m.groups()     # = ('f',) ?!?
  </pre>
  I want to get <code>('a', 'b', 'c', 'd', 'e', 'f')</code>, but because regex overwrites subsequent captures, I get <code>('f',)</code></p>
  
  <p>Is this how regex is supposed to behave? Is there a way to do what I want without having to repeat the syntax six times?</p>
  
  <p>Thanks in advance!<br>
  Andrew</p>