diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-04-04 16:04:21 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-04-04 16:04:58 +0200 |
commit | c0643727d39c4536444b5fb72df92018517839ba (patch) | |
tree | 7052c280806d5599baa517e05c84cc8f5c9b2ac3 | |
parent | 1fb30f837693b487413c7263dbb6bad0505ca801 (diff) | |
download | vim-suse-changes-c0643727d39c4536444b5fb72df92018517839ba.tar.gz |
fix(osurl): abbreviation GH-1234 are often upper-case on the GH pages themselves
-rwxr-xr-x | osurl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)[#-]([0-9]+)@https://github.com/\ STR="$(echo "$STR" | sed -E -e 's!gh[#-]([^#]*)@(\S+)!https://github.com/\1/commit/\2!')" STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)!(\S+)@https://github.com/\1/pull/\2@')" # Python exception -STR="$(echo "$STR" | sed -E -e 's@gh[#-]([0-9]+)[: ]*@https://github.com/python/cpython/issues/\1@')" +STR="$(echo "$STR" | sed -E -e 's@gh[#-]([0-9]+)[: ]*@https://github.com/python/cpython/issues/\1@I')" STR="$(echo "$STR" | sed -E -e 's@gh[#-]([^#]*)\$(\S+)@https://github.com/\1/discussions/\2@')" STR="$(echo "$STR" | sed -E -e 's@gl[#-]([^#]*)[#-](\S+)@https://gitlab.com/\1/issues/\2@')" STR="$(echo "$STR" | sed -E -e 's@gl[#-]([^#]*)!(\S+)@https://gitlab.com/\1/-/merge_requests/\2@')" |