pub fn parse_issue_url(url: &str) -> Result<(String, String, u64), String>Expand description
Parse a GitLab issue / work-item URL into its components.
Accepts both the legacy /-/issues/<n> path and the newer
/-/work_items/<n> form. Example:
https://gitlab.com/CentOS/proposed_updates/rpms/xz/-/work_items/1
returns ("https://gitlab.com", "CentOS/proposed_updates/rpms/xz", 1).