diff --git a/zulip_bots/zulip_bots/bots/link_shortener/link_shortener.py b/zulip_bots/zulip_bots/bots/link_shortener/link_shortener.py index 243e552..9d5e983 100644 --- a/zulip_bots/zulip_bots/bots/link_shortener/link_shortener.py +++ b/zulip_bots/zulip_bots/bots/link_shortener/link_shortener.py @@ -35,8 +35,8 @@ class LinkShortenerHandler(object): '(' '(?:http|https):\/\/' # This allows for the HTTP or HTTPS # protocol. - '[^"<>#%\{\}|\\^~[\]` ]+' # This allows for any character except - # for certain non-URL-safe ones. + '[^"<>\{\}|\\^~[\]` ]+' # This allows for any character except + # for certain non-URL-safe ones. ')' )