code: def items(self, path=None):
          
          items = list(self.iteritems())
          if path is not None:
              path += '$'
              regex = re.compile(path)
              items = [i for i in items if regex.match(i.path)]
          return items
docs: Returns set of items.
  
          :param path: Regex filter on item path.
  
          :return: List of Item class objects.