I am using the following code:
pattern = re.compile(CARRIS_REGEX, re.UNICODE)
matches = pattern.finditer(mailbody)
findall = pattern.findall(mailbody)
But finditer and findall are finding different things. Findall indeed finds all the matches in the given string. But ...