[Python-checkins] CVS: python/dist/src/Lib/test re_tests.py,1.21,1.22

Fredrik Lundh python-dev@python.org
Tue, 3 Oct 2000 09:29:26 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv21244/Lib/test

Modified Files:
	re_tests.py 
Log Message:


Fixed negative lookahead/lookbehind.  Closes bug #115618.


Index: re_tests.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/re_tests.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** re_tests.py	2000/09/24 14:46:23	1.21
--- re_tests.py	2000/10/03 16:29:23	1.22
***************
*** 616,618 ****
--- 616,620 ----
      ('(', '', SYNTAX_ERROR),
      ('[\\41]', '!', SUCCEED, 'found', '!'),
+     # bug 115618
+     (r'(?<!abc)(d.f)', 'abcdefdof', SUCCEED, 'found', 'dof'),
  ]