diff options
author | Raymond Hettinger <python@rcn.com> | 2004-09-24 03:41:05 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-09-24 03:41:05 (GMT) |
commit | 596ba4d89e139efbac86a3254aa1d3653f1382ee (patch) | |
tree | 05bfa5a04952924b6f5269e3737221b3e0383eb2 /Misc | |
parent | 9fa544cfa3a8f124fa4e88481ba0b60406e0caed (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |