Returns a list of addresses found in text

def _get_addresses(self, text):
        '''Returns a list of addresses found in text'''
        # find addresses
        addresses = []
        matches = utils.findall(
            self.rules,
            text,
            flags=re.VERBOSE | re.U)

        if(matches):
            for match in matches:
                addresses.append(match[0].strip())
        return addresses