summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-09-24 03:41:05 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-09-24 03:41:05 (GMT)
commit596ba4d89e139efbac86a3254aa1d3653f1382ee (patch)
tree05bfa5a04952924b6f5269e3737221b3e0383eb2 /Misc
parent9fa544cfa3a8f124fa4e88481ba0b60406e0caed (diff)
downloadcpython-596ba4d89e139efbac86a3254aa1d3653f1382ee.zip
cpython-596ba4d89e139efbac86a3254aa1d3653f1382ee.tar.gz
cpython-596ba4d89e139efbac86a3254aa1d3653f1382ee.tar.bz2
Granted Noam Raphael's request for minor improvements to the re module and
its documentation. * Documented that the compiled re methods are supposed to be more full featured than their simpilified function counterparts. * Documented the existing start and stop position arguments for the findall() and finditer() methods of compiled regular expression objects. * Added an optional flags argument to the re.findall() and re.finditer() functions. This aligns their API with that for re.search() and re.match().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d3f4fe4..edf5a0c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -32,6 +32,11 @@ Extension modules
Library
-------
+- re's findall() and finditer() functions now take an optional flags argument
+ just like the compile(), search(), and match() functions. Also, documented
+ the previously existing start and stop parameters for the findall() and
+ finditer() methods of regular expression objects.
+
- rfc822 Messages now support iterating over the headers.
- The (undocumented) tarfile.Tarfile.membernames has been removed;