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 tim.peters
Recipients Simmo Saan, ezio.melotti, mrabarnett, serhiy.storchaka, tim.peters
Date 2016-04-30.15:38:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462030691.42.0.229427597162.issue26895@psf.upfronthosting.co.za>
In-reply-to
Content
Do note that `.match()` is constrained to match starting at the first byte.  `.search()` is not (it can start matching at any position), and your example works fine if `.search()` is used instead.

This is all expected, and intended, and documented.
History
Date User Action Args
2016-04-30 15:38:11tim.peterssetrecipients: + tim.peters, ezio.melotti, mrabarnett, serhiy.storchaka, Simmo Saan
2016-04-30 15:38:11tim.peterssetmessageid: <1462030691.42.0.229427597162.issue26895@psf.upfronthosting.co.za>
2016-04-30 15:38:11tim.peterslinkissue26895 messages
2016-04-30 15:38:11tim.peterscreate