Author ezio.melotti
Recipients barry, ezio.melotti, loewis, nadeem.vawda, orsenthil, r.david.murray, rosslagerwall, serhiy.storchaka
Date 2012-09-19.08:49:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> What about _has_surrogates = re.compile('[^\udc80-\udcff]*\Z').match ?

The runtime is a bit slower than re.compile('[\udc80-\udcff]').search, but otherwise it's faster than all the other alternatives.  I haven't checked the startup-time, but I suspect it won't be better -- maybe even worse.
Date User Action Args
2012-09-19 08:49:57ezio.melottisetrecipients: + ezio.melotti, loewis, barry, orsenthil, nadeem.vawda, r.david.murray, rosslagerwall, serhiy.storchaka
2012-09-19 08:49:57ezio.melottisetmessageid: <>
2012-09-19 08:49:56ezio.melottilinkissue11454 messages
2012-09-19 08:49:56ezio.melotticreate