@classmethod
    def _from_string(cls, string, access=DEFAULT_ACCESS, accept_value=True):
        computer, root, path, value = _parse_moniker(string, accept_value=accept_value)
        moniker = REGISTRY_HIVE.name_from_value(root) + ((sep + path) if path else "")
        if computer:
            hRoot = wrapped(win32api.RegConnectRegistry, None if computer == "." else computer, root)
        else:
            hRoot = root

        try:
            if computer:
                moniker = r"\\%s\%s" % (computer, moniker)
            return wrapped(win32api.RegOpenKeyEx, hRoot, path, 0, cls._access(access)), moniker, value
        except exc.x_not_found:
            return None, moniker, value
Treat the string param as a moniker and return the corresponding
dataset/ETHPy150Open tjguk/winsys/winsys/registry.py/Registry._from_string