code: def add_intern_pattern(self, url=None):
          
          try:
              pat = self.get_intern_pattern(url=url)
              if pat:
                  log.debug(LOG_CHECK, "Add intern pattern %r", pat)
                  self.aggregate.config['internlinks'].append(get_link_pat(pat))
          except UnicodeError as msg:
              res = _("URL has unparsable domain name: %(domain)s") % \
                  {"domain": msg}
              self.set_result(res, valid=False)
docs: Add intern URL regex to config.