Parses a locator string into its scheme and scheme-specific fields.
Magnet links yield infoHash (lowercase hex), name, trackers and webSeeds.
NZB locators (nzb:// wrapping an encoded web URL, or a web URL ending in .nzb)
yield url and name. Soulseek locators yield user and path. Mail locators
yield address, addresses, subject and body. Web URLs yield origin, host
and path. Any other well-formed scheme yields no fields.
Parses a locator string into its scheme and scheme-specific fields.
Magnet links yield
infoHash(lowercase hex),name,trackersandwebSeeds. NZB locators (nzb://wrapping an encoded web URL, or a web URL ending in.nzb) yieldurlandname. Soulseek locators yielduserandpath. Mail locators yieldaddress,addresses,subjectandbody. Web URLs yieldorigin,hostandpath. Any other well-formed scheme yields no fields.