forked from uniborg/uniborg
fuck you lonami you fucking retard
"but dan made the commit" fuck you, you dont know shit, lonami came up with the idea to use ++
This commit is contained in:
parent
3178eb5fba
commit
21f80a953d
|
@ -61,7 +61,7 @@ def parse_snip(m):
|
||||||
# where the parse function takes the match and returns (text, entity)
|
# where the parse function takes the match and returns (text, entity)
|
||||||
MATCHERS = [
|
MATCHERS = [
|
||||||
(DEFAULT_URL_RE, parse_url_match),
|
(DEFAULT_URL_RE, parse_url_match),
|
||||||
(re.compile(r'\+\+(.+?)\+\+'), parse_aesthetics),
|
(re.compile(r'!\+(.+?)\+!'), parse_aesthetics),
|
||||||
(re.compile(r'~~(.+?)~~'), parse_strikethrough),
|
(re.compile(r'~~(.+?)~~'), parse_strikethrough),
|
||||||
(re.compile(r'([^/\w]|^)(/?(r/\w+))'), parse_subreddit),
|
(re.compile(r'([^/\w]|^)(/?(r/\w+))'), parse_subreddit),
|
||||||
(re.compile(r'(!\w+)'), parse_snip)
|
(re.compile(r'(!\w+)'), parse_snip)
|
||||||
|
|
Loading…
Reference in New Issue