summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-17 10:30:12 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-17 10:30:12 -0700
commit478195cad776469a8532b11b798d9e520652ef64 (patch)
tree9abee6d3f305457f976aa4dca6ac5ed622df1573 /test
parent07a84eeabd42e36af2bfb7382cdaa9aacfd31295 (diff)
Add pathological test for #285.
Diffstat (limited to 'test')
-rw-r--r--test/pathological_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py
index 031acbd..e96c333 100644
--- a/test/pathological_tests.py
+++ b/test/pathological_tests.py
@@ -48,6 +48,9 @@ pathological = {
"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>")),