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

Fredrik Lundh effbot@users.sourceforge.net
Sun, 18 Feb 2001 13:04:50 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv18070/Lib/test

Modified Files:
	re_tests.py 
Log Message:


detect attempts to repeat anchors (fixes bug #130748)

Index: re_tests.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/re_tests.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** re_tests.py	2001/01/15 18:28:14	1.26
--- re_tests.py	2001/02/18 21:04:48	1.27
***************
*** 637,639 ****
--- 637,641 ----
      (r'(?i)[M]+', 'MMM', SUCCEED, 'found', 'MMM'),
      (r'(?i)[m]+', 'MMM', SUCCEED, 'found', 'MMM'),
+     # bug 130748: ^* should be an error (nothing to repeat)
+     (r'^*', '', SYNTAX_ERROR),
  ]