From: Neal Norwitz Date: Thu, 13 Feb 2003 03:01:18 +0000 (+0000) Subject: SF patch #682432, add lookbehind tests X-Git-Tag: v2.3c1~1873 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb1844148ac4b0866a28f9829c2e3826011dc854;p=thirdparty%2FPython%2Fcpython.git SF patch #682432, add lookbehind tests --- diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py index d6f04f058ceb..7ab8eb9317c3 100755 --- a/Lib/test/re_tests.py +++ b/Lib/test/re_tests.py @@ -548,6 +548,13 @@ tests = [ ('a(?:b|(c|e){1,2}?|d)+?(.)', 'ace', SUCCEED, 'g1 + g2', 'ce'), ('^(.+)?B', 'AB', SUCCEED, 'g1', 'A'), + # lookbehind: split by : but not if it is escaped by -. + ('(?