code: 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 addressef _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
docs: Returns a list of addresses found in text