Files for 2.1b1 distribution.
[python/dscho.git] / Lib / re.py
blobb125b2035421addf667fa7d2f1a5e134b2da6a56
2 # Minimal "re" compatibility wrapper
4 # If your regexps don't work well under 2.0b1, you can switch
5 # to the old engine ("pre") down below.
7 # To help us fix any remaining bugs in the new engine, please
8 # report what went wrong. You can either use the following web
9 # page:
11 # http://sourceforge.net/bugs/?group_id=5470
13 # or send a mail to SRE's author:
15 # Fredrik Lundh <effbot@telia.com>
17 # Make sure to include the pattern, the string SRE failed to
18 # match, and what result you expected.
20 # thanks /F
23 engine = "sre"
24 # engine = "pre"
26 if engine == "sre":
27 # New unicode-aware engine
28 from sre import *
29 from sre import __all__
30 else:
31 # Old 1.5.2 engine. This one supports 8-bit strings only,
32 # and will be removed in 2.0 final.
33 from pre import *
34 from pre import __all__