src/vs/platform/files/browser/htmlFileSystemProvider.ts/getRootUUID
function getRootUUID(uri: URI): string | undefined {
	const match = /^\/([^/]+)\/[^/]+\/?$/.exec(uri.path);

	if (!match) {
		return undefined;
	}

	return match[1];
}