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 mrabarnett
Recipients brian.curtin, ezio.melotti, mrabarnett, techmaurice, vstinner
Date 2011-10-13.17:46:28
SpamBayes Score 0.026648631
Marked as misclassified No
Message-id <1318527988.76.0.095026712804.issue13169@psf.upfronthosting.co.za>
In-reply-to
Content
The quantifiers use 65535 to represent no upper limit, so ".{0,65535}" is equivalent to ".*".

For example:

>>> re.match(".*", "x" * 100000).span()
(0, 100000)
>>> re.match(".{0,65535}", "x" * 100000).span()
(0, 100000)

but:

>>> re.match(".{0,65534}", "x" * 100000).span()
(0, 65534)
History
Date User Action Args
2011-10-13 17:46:28mrabarnettsetrecipients: + mrabarnett, vstinner, ezio.melotti, brian.curtin, techmaurice
2011-10-13 17:46:28mrabarnettsetmessageid: <1318527988.76.0.095026712804.issue13169@psf.upfronthosting.co.za>
2011-10-13 17:46:28mrabarnettlinkissue13169 messages
2011-10-13 17:46:28mrabarnettcreate