diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-03-17 10:30:12 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-03-17 10:30:12 -0700 |
commit | 478195cad776469a8532b11b798d9e520652ef64 (patch) | |
tree | 9abee6d3f305457f976aa4dca6ac5ed622df1573 | |
parent | 07a84eeabd42e36af2bfb7382cdaa9aacfd31295 (diff) |
Add pathological test for #285.
-rw-r--r-- | test/pathological_tests.py | 3 |
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>")), |