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 Simmo Saan
Recipients Simmo Saan, ezio.melotti, mrabarnett
Date 2016-04-30.15:02:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462028531.93.0.527876280571.issue26895@psf.upfronthosting.co.za>
In-reply-to
Content
Regex functions on bytes consider zero byte as end and stop matching at that point. This is completely nonsensical since python has no problems working with zero bytes otherwise.

For example:
  Matches as expected: re.match(b'a', b'abc')
  Does not match unexpectedly: re.match(b'a', b'\x00abc')
History
Date User Action Args
2016-04-30 15:02:11Simmo Saansetrecipients: + Simmo Saan, ezio.melotti, mrabarnett
2016-04-30 15:02:11Simmo Saansetmessageid: <1462028531.93.0.527876280571.issue26895@psf.upfronthosting.co.za>
2016-04-30 15:02:11Simmo Saanlinkissue26895 messages
2016-04-30 15:02:11Simmo Saancreate