Logo
Explore Help
Sign In
1berry/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Packages Projects Releases Wiki Activity
cpython/Lib/re.py

12 lines
283 B
Python
Raw Normal View History

Switch to sre for regular expression matching (the new mini-re module is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
2000-06-30 16:25:20 +00:00
# change this to "pre" if your regexps stopped working. don't
# forget to send a bug report to <some suitable address>
Patch by Jeffrey Chang to add docstrings everywhere. The text is condensed from the library manual.
1999-07-09 21:15:32 +00:00
Switch to sre for regular expression matching (the new mini-re module is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
2000-06-30 16:25:20 +00:00
engine = "sre"
Patch by Jeffrey Chang to add docstrings everywhere. The text is condensed from the library manual.
1999-07-09 21:15:32 +00:00
Switch to sre for regular expression matching (the new mini-re module is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
2000-06-30 16:25:20 +00:00
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 *
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1971ms Template: 46ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API