mirror of
https://github.com/python/cpython
synced 2024-09-22 11:42:01 +00:00
2850d18615
is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
12 lines
283 B
Python
12 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 *
|