[Python-checkins] CVS: python/dist/src/Modules _sre.c,2.5,2.6 sre.h,2.4,2.5

Fredrik Lundh python-dev@python.org
Thu, 29 Jun 2000 03:34:58 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv1431/Modules

Modified Files:
	_sre.c sre.h 
Log Message:


- removed "alpha only" licensing restriction
- removed some hacks that worked around 1.6 alpha bugs
- removed bogus test code from sre_parse

Index: _sre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_sre.c,v
retrieving revision 2.5
retrieving revision 2.6
diff -C2 -r2.5 -r2.6
*** _sre.c	2000/06/29 08:57:54	2.5
--- _sre.c	2000/06/29 10:34:56	2.6
***************
*** 4,8 ****
   * $Id$
   *
! n * simple regular expression matching engine
   *
   * partial history:
--- 4,8 ----
   * $Id$
   *
!  * regular expression matching engine
   *
   * partial history:
***************
*** 23,39 ****
   * Copyright (c) 1997-2000 by Secret Labs AB.  All rights reserved.
   *
-  * This code can only be used for 1.6 alpha testing.  All other use
-  * require explicit permission from Secret Labs AB.
-  *
   * Portions of this engine have been developed in cooperation with
   * CNRI.  Hewlett-Packard provided funding for 1.6 integration and
   * other compatibility work.
   */
- 
- /*
-  * FIXME: repeated groups don't work (they're usually come out empty)
-  * FIXME: rename to 're'
-  * FIXME: enable repeat_one optimization
-  */   
  
  #ifndef SRE_RECURSIVE
--- 23,30 ----

Index: sre.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/sre.h,v
retrieving revision 2.4
retrieving revision 2.5
diff -C2 -r2.4 -r2.5