Can anyone explain why print match.group() only returns the resulting matches the first time it is called in a for loop below? I would expect it to print the matches every time it is called. I encountered this example while going through Can anyone explain why print match.group() only