forked from uniborg/uniborg
Use \w+ for inline text snippets
fixes not `!lenny?` not working
This commit is contained in:
parent
3457db917f
commit
b434a1ec8f
|
@ -66,7 +66,7 @@ MATCHERS = [
|
|||
(get_tag_parser('```', partial(MessageEntityPre, language=''))),
|
||||
(get_tag_parser('`', MessageEntityCode)),
|
||||
(re.compile(r'([^/\w]|^)(/?(r/\w+))'), parse_subreddit),
|
||||
(re.compile(r'(!\S+)'), parse_snip)
|
||||
(re.compile(r'(!\w+)'), parse_snip)
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue