Message 124746 - Python tracker

Message124746

Author jacques
Recipients akitada, amaury.forgeotdarc, belopolsky, collinwinter, ezio.melotti, georg.brandl, giampaolo.rodola, gregory.p.smith, jacques, jaylogan, jhalcrow, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, r.david.murray, rsc, sjmachin, stiv, timehorse, vbr, zdwiel
Date 2010-12-28.00:56:28
SpamBayes Score 0.0013736024
Marked as misclassified No
Message-id <1293497792.31.0.525971195017.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
Testing issue2636-20101224.zip:

Nested modifiers seems to hang the regex compilation when used in a non-capturing group e.g.:

re.compile("(?:(?i)foo)")

or

re.compile("(?:(?u)foo)")


No problem on stock Python 2.6.5 regex engine.

The unnested version of the same regex compiles fine.
History
Date User Action Args
2010-12-28 00:56:33jacquessetrecipients: + jacques, loewis, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, belopolsky, pitrou, nneonneo, giampaolo.rodola, rsc, timehorse, mark, vbr, ezio.melotti, mrabarnett, jaylogan, akitada, moreati, r.david.murray, zdwiel, jhalcrow, stiv
2010-12-28 00:56:32jacquessetmessageid: <1293497792.31.0.525971195017.issue2636@psf.upfronthosting.co.za>
2010-12-28 00:56:28jacqueslinkissue2636 messages
2010-12-28 00:56:28jacquescreate