[Python-Dev] New regex module for 3.2? (original) (raw)

geremy condra debatem1 at gmail.com
Mon Jul 12 02:49:29 CEST 2010


On Sun, Jul 11, 2010 at 7:42 PM, Steven D'Aprano <steve at pearwood.info> wrote:

On Sun, 11 Jul 2010 09:37:22 pm Eric Smith wrote:

> re2 comparison is interesting from the point of if it should be > included in stdlib.

Is "it" re2 or regex? I don't see having 2 regular expression engines in the stdlib. There's precedence though... the old regex engine and the new re engine were side-by-side for many years before regex was deprecated and finally removed in 2.5. Hypothetically, re2 could similarly be added to the standard library while re is deprecated.

While I realize I'm not the target audience for this, there are a lot of things I'd like to see more in the stdlib than a second re engine.

Geremy Condra



More information about the Python-Dev mailing list