summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-10-03 16:29:23 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-10-03 16:29:23 (GMT)
commit65d4bc616aa94f391951e2b9c699765531a27e3f (patch)
tree3a13aeca6ceba2a816fc3efad17c7fceed76fa0f /Lib/test
parent84294487dfbe394812512debb85e4b682cec8e57 (diff)
downloadcpython-65d4bc616aa94f391951e2b9c699765531a27e3f.zip
cpython-65d4bc616aa94f391951e2b9c699765531a27e3f.tar.gz
cpython-65d4bc616aa94f391951e2b9c699765531a27e3f.tar.bz2
Fixed negative lookahead/lookbehind. Closes bug #115618.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/re_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py
index 3a25d51..bb72f3d 100755
--- a/Lib/test/re_tests.py
+++ b/Lib/test/re_tests.py
@@ -615,4 +615,6 @@ xyzabc
# bug 112468
('(', '', SYNTAX_ERROR),
('[\\41]', '!', SUCCEED, 'found', '!'),
+ # bug 115618
+ (r'(?<!abc)(d.f)', 'abcdefdof', SUCCEED, 'found', 'dof'),
]