I'm getting confused returning multiple groups in Python. My RegEx is this:
lun_q = 'Lun:\s*(\d+\s?)*'
And my string is
s = '''Lun:                     0 1 2 3 295 296 297 298'''`
I return a matched object, and then want to look at the groups, but all it shows it the last number (258):
r.groups()  
(u'298',)
Why isn't it returning groups of 0,1,2,3,4 etc.?
 
     
     
     
     
     
    