diff options
author | Georg Brandl <georg@python.org> | 2008-05-12 18:05:20 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-12 18:05:20 (GMT) |
commit | e6bcc9145e3ecae592dd2e24da5508f34022b920 (patch) | |
tree | 407b0d02ac1d4e16d0d30d6b2795d4d1345201d2 /Doc/library/re.rst | |
parent | c73728373c767119271e3813b3f4d182c845a297 (diff) | |
download | cpython-e6bcc9145e3ecae592dd2e24da5508f34022b920.zip cpython-e6bcc9145e3ecae592dd2e24da5508f34022b920.tar.gz cpython-e6bcc9145e3ecae592dd2e24da5508f34022b920.tar.bz2 |
Remove many "versionchanged" items that didn't use the official markup,
but just some text embedded in the docs.
Also remove paragraph about implicit relative imports from tutorial.
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r-- | Doc/library/re.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 019652e..e3867c0 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -1035,10 +1035,10 @@ recursion, you may encounter a :exc:`RuntimeError` exception with the message You can often restructure your regular expression to avoid recursion. -Starting with Python 2.3, simple uses of the ``*?`` pattern are special-cased to -avoid recursion. Thus, the above regular expression can avoid recursion by -being recast as ``Begin [a-zA-Z0-9_ ]*?end``. As a further benefit, such -regular expressions will run faster than their recursive equivalents. +Simple uses of the ``*?`` pattern are special-cased to avoid recursion. Thus, +the above regular expression can avoid recursion by being recast as ``Begin +[a-zA-Z0-9_ ]*?end``. As a further benefit, such regular expressions will run +faster than their recursive equivalents. search() vs. match() |