mirror of
https://github.com/python/cpython.git
synced 2025-07-25 12:14:38 +00:00

is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
11 lines
283 B
Python
11 lines
283 B
Python
# 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 *
|