Case-insensitive identity of a GitHub issue or PR URL: owner/repo#number,
lowercased. Trailing slashes, #fragments and ?querys fall away because
only the path segments are read, and /issues/N and /pull/N map to the
same key: a repo has one number space, so a bare #N mention names the
same object whichever kind it is. Returns null when the URL does not
parse (see parseGitHubUrl).
Case-insensitive identity of a GitHub issue or PR URL:
owner/repo#number, lowercased. Trailing slashes,#fragments and?querys fall away because only the path segments are read, and/issues/Nand/pull/Nmap to the same key: a repo has one number space, so a bare#Nmention names the same object whichever kind it is. Returns null when the URL does not parse (see parseGitHubUrl).