[Python-checkins] CVS: python/dist/src/Lib re.py,1.36,1.37

Fredrik Lundh python-dev@python.org
Fri, 30 Jun 2000 15:01:39 -0700


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

Modified Files:
	re.py 
Log Message:

replaced <some suitable mail address> with something slightly
more suitable.

Index: re.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/re.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -r1.36 -r1.37
*** re.py	2000/06/30 16:25:20	1.36
--- re.py	2000/06/30 22:01:36	1.37
***************
*** 1,11 ****
! # change this to "pre" if your regexps stopped working.  don't
! # forget to send a bug report to <some suitable address>
  
  engine = "sre"
  
  if engine == "sre":
!     # new 2.0 engine
      from sre import *
  else:
!     # old 1.5.2 engine.  will be removed in 2.0 final.
      from pre import *
--- 1,32 ----
! #
! # Minimal "re" compatibility wrapper
! #
! # If your regexps don't work well under 2.0b1, you can switch
! # to the old engine ("pre") down below.
! #
! # To help us fix any remaining bugs in the new engine, please
! # report what went wrong.  You can either use the following web
! # page:
! #
! #    http://www.python.org/search/search_bugs.html
! #
! # or send a mail to SRE's author:
! #
! #    Fredrik Lundh <effbot@telia.com>
! #
! # Make sure to include the pattern, the string SRE failed to
! # match, and what result you expected.
! #
! # thanks /F
! #
  
  engine = "sre"
+ # engine = "pre"
  
  if engine == "sre":
!     # New unicode-aware engine
      from sre import *
  else:
!     # Old 1.5.2 engine.  This one supports 8-bit strings only,
!     # and will be removed in 2.0 final.
      from pre import *