Message9189

Author thatch
Recipients thatch
Date 2014-11-05.03:45:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415159132.33.0.792410377049.issue2226@psf.upfronthosting.co.za>
In-reply-to
Content
The codepoint 0x00a0 (160 decimal, nbsp) is not considered to match as whitespace in Jython re, but is in CPython.

>>> re.compile('\\s', re.UNICODE).match(u'\u00a0')

There are a few other diffs, so attaching a list.  's' and 'su' refer to whether it's \s with default flags, or \s + re.UNICODE flag.
History
Date User Action Args
2014-11-05 03:45:32thatchsetrecipients: + thatch
2014-11-05 03:45:32thatchsetmessageid: <1415159132.33.0.792410377049.issue2226@psf.upfronthosting.co.za>
2014-11-05 03:45:32thatchlinkissue2226 messages
2014-11-05 03:45:31thatchcreate