Skip to content

Commit

Permalink
Add pathological test for #285.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 17, 2019
1 parent 07a84ee commit 478195c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/pathological_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
"link openers and emph closers":
(("[ a_" * 50000),
re.compile("(\[ a_){50000}")),
"pattern [ (]( repeated":
(("[ (](" * 80000),
re.compile("(\[ \(\]\(){80000}")),
"hard link/emph case":
("**x [a*b**c*](d)",
re.compile("\\*\\*x <a href=\"d\">a<em>b\\*\\*c</em></a>")),
Expand Down

0 comments on commit 478195c

Please sign in to comment.