We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d7834 commit ada10d4Copy full SHA for ada10d4
sopel/modules/reddit.py
@@ -30,7 +30,7 @@
30
post_or_comment_url = (
31
domain +
32
r'/r/\S+?/comments/(?P<submission>[\w-]+)'
33
- r'(?:/?(?:[\w%%]+/(?P<comment>[\w-]+))?)'
+ r'(?:/?(?:[\w%]+/(?P<comment>[\w-]+))?)'
34
)
35
short_post_url = r'https?://redd\.it/([\w-]+)'
36
user_url = r'%s/u(?:ser)?/([\w-]+)' % domain
0 commit comments