forked from Mirrors/apostrophe
commit
b9f86d5c44
|
@ -19,7 +19,7 @@ LINK_ALT = re.compile(
|
||||||
IMAGE = re.compile(
|
IMAGE = re.compile(
|
||||||
r"!\[(?P<text>.*)\]\((?P<url>.+?)(?: \"(?P<title>.+)\")?\)")
|
r"!\[(?P<text>.*)\]\((?P<url>.+?)(?: \"(?P<title>.+)\")?\)")
|
||||||
HORIZONTAL_RULE = re.compile(
|
HORIZONTAL_RULE = re.compile(
|
||||||
r"(?:^|\n)(?P<symbols> {0,3}[*\-_]{3,} *)(?:\n+|$)")
|
r"(?:^|\n{2,})(?P<symbols> {0,3}[*\-_]{3,} *)(?:\n{2,}|$)")
|
||||||
LIST = re.compile(
|
LIST = re.compile(
|
||||||
r"(?:^|\n)(?P<content>(?P<indent>(?:\t| {4})*)[\-*+]( +)(?P<text>.+(?:\n+ \2.+)*))")
|
r"(?:^|\n)(?P<content>(?P<indent>(?:\t| {4})*)[\-*+]( +)(?P<text>.+(?:\n+ \2.+)*))")
|
||||||
ORDERED_LIST = re.compile(
|
ORDERED_LIST = re.compile(
|
||||||
|
|
Loading…
Reference in New Issue