code: def filter_service_by_regex_name(regex):
      
      host_re = re.compile(regex)
  
      def inner_filter(items):
          """Inner filter for service. Accept if regex match service_description"""
          service = items["service"]
          if service is None:
              return False
          return host_re.match(service.service_description) is not None
  
      return inner_filter
docs: Filter for service
      Filter on regex
  
      :param regex: regex to filter
      :type regex: str
      :return: Filter
      :rtype: bool