2.1.1 and regexp

Fredrik Lundh fredrik at pythonware.com
Mon Dec 3 18:55:31 EST 2001


Dave Pawson wrote:
> Can anyone straighten me out on
> the history / future of regexp in python please.
> Present (2.1.1) documentation implies that re will be
> replaced by sre.
> http://www.python.org/doc/current/lib/module-re.html

no, it says that the "pre" engine may go away.

user code should use "re", unless they have a good reason
for not doing so.

</F>

<!-- (the eff-bot guide to) the python standard library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->






More information about the Python-list mailing list