code: def module_matching(self, name):
          '''Find a list of modules matching a wildcard pattern'''
          import fnmatch
          ret = []
          for mname in self.mpstate.public_modules.keys():
              if fnmatch.fnmatch(mname, name):
                  ret.append(self.mpstate.public_modules[mname])
          return ref module_matching(self, name):
          '''Find a list of modules matching a wildcard pattern'''
          import fnmatch
          ret = []
          for mname in self.mpstate.public_modules.keys():
              if fnmatch.fnmatch(mname, name):
                  ret.append(self.mpstate.public_modules[mname])
          return ret
docs: Find a list of modules matching a wildcard pattern