[Python-Dev] When will regex really go away?

Fredrik Lundh fredrik at pythonware.com
Thu Mar 2 17:10:30 CET 2006


skip at pobox.com wrote:

> The docstring shows how to use it.  Yet another Andrew Kuchling gem
> as I recall (or maybe an effbot gem).

amk, most likely.

and in 92.65% of all cases, switching from "regex" to "re" involves adding
\ in front of (, | and ) if they don't already have them, and removing \ from
any instances of (, | and ) that already have them.  or something like that.

</F>





More information about the Python-Dev mailing list