def _get_addresses(self, text):
<EOL>addresses = []<EOL>matches = utils.findall(<EOL>self.rules,<EOL>text,<EOL>flags=re.VERBOSE | re.U)<EOL>if(matches):<EOL><INDENT>for match in matches:<EOL><INDENT>addresses.append(match[<NUM_LIT:0>].strip())<EOL><DEDENT><DEDENT>return addresses<EOL>
Returns a list of addresses found in text