➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 mrabarnett
收信人 akitada, amaury.forgeotdarc, brian.curtin, collinwinter, ezio.melotti, georg.brandl, giampaolo.rodola, gregory.p.smith, jaylogan, jhalcrow, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, r.david.murray, rsc, sjmachin, timehorse, vbr
日期 2010-09-12.20:47:44
SpamBayes Score 4.3676344e-08
Marked as misclassified 否
Message-id <1284324467.15.0.97016727689.issue2636@psf.upfronthosting.co.za>
In-reply-to
内容
The tests for re include these regexes:

    a.b(?s)
    a.*(?s)b

I understand what Georg said previously about some people preferring to put them at the end, but I personally wouldn't do that because some regex implementations support scoped inline flags, although others, like re, don't.

I think that second regex is a bit perverse, though! :-)

On the other matter, I could make the Unicode script and block available through a couple of functions if you need them, eg:

    # Using Python 3 here
    >>> regex.script("A")
    'Latin'
    >>> regex.block("A")
    'BasicLatin'
历史
日期 用户 动作 参数
2010-09-12 20:47:49mrabarnett修改recipients: + mrabarnett, loewis, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, pitrou, nneonneo, giampaolo.rodola, rsc, timehorse, mark, vbr, ezio.melotti, jaylogan, akitada, moreati, r.david.murray, brian.curtin, jhalcrow
2010-09-12 20:47:47mrabarnett修改messageid: <1284324467.15.0.97016727689.issue2636@psf.upfronthosting.co.za>
2010-09-12 20:47:44mrabarnett链接issue2636 messages
2010-09-12 20:47:44mrabarnett创建