code: def _inner_search(obj, glob, separator, dirs=True, leaves=False):
      
      for path in dpath.path.paths(obj, dirs, leaves, skip=True):
          if dpath.path.match(path, glob):
              yield path
docs: Search the object paths that match the glob.