diff options
Diffstat (limited to 'abbrevURL')
-rwxr-xr-x | abbrevURL | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ fi STR="$(echo "$STR" | sed -E -e 's@https?://github.com/(.*)/issues/([0-9]+)@gh#\1#\2@')" STR="$(echo "$STR" | sed -E -e 's@https?://github.com/(.*)/pull/([0-9]+)@gh#\1!\2@')" -STR="$(echo "$STR" | sed -E -e 's@https?://github.com/(.*)/discussions/([0-9]+)@gh#\1!\2@')" +STR="$(echo "$STR" | sed -E -e 's@https?://github.com/(.*)/discussions/([0-9]+)@gh#\1\$\2@')" # TODO STR=STR:gsub("https?://github.com/(.*)/commit/(%w+)", function (r, i) # return "gh#" .. r .. "@" .. i:sub(1, 12) # end) |