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.

Author ezio.melotti
Recipients Arfrever, ezio.melotti, jkloth, mrabarnett, pitrou, r.david.murray, tchrist, terry.reedy
Date 2011-08-14.16:16:27
SpamBayes Score 0.00059019914
Marked as misclassified No
Message-id <1313338588.27.0.523850328384.issue12749@psf.upfronthosting.co.za>
In-reply-to
Content
I haven't looked at the code, but I think that the re module is just trying to calculate the range between the low surrogate of 𝒜 and the high surrogate of 𝒵.
If this is the case, this is the "usual bug" that narrow builds have.

Also note that re.search(u"[\N{MATHEMATICAL SCRIPT CAPITAL A}-\N{MATHEMATICAL SCRIPT CAPITAL Z}]".encode('utf-8'), u"\N{MATHEMATICAL SCRIPT CAPITAL C}".encode('utf-8'), re.UNICODE)
"works", but it returns a wrong result.
History
Date User Action Args
2011-08-14 16:16:28ezio.melottisetrecipients: + ezio.melotti, terry.reedy, pitrou, jkloth, mrabarnett, Arfrever, r.david.murray, tchrist
2011-08-14 16:16:28ezio.melottisetmessageid: <1313338588.27.0.523850328384.issue12749@psf.upfronthosting.co.za>
2011-08-14 16:16:27ezio.melottilinkissue12749 messages
2011-08-14 16:16:27ezio.melotticreate