aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xosurl2
1 files changed, 1 insertions, 1 deletions
diff --git a/osurl b/osurl
index ae5504d..46dab66 100755
--- a/osurl
+++ b/osurl
@@ -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@')"