From 478195cad776469a8532b11b798d9e520652ef64 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 17 Mar 2019 10:30:12 -0700 Subject: Add pathological test for #285. --- test/pathological_tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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 ab\\*\\*c")), -- cgit v1.2.3