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 pitrou
Recipients gvanrossum, mrabarnett, pitrou, serhiy.storchaka, tim.peters
Date 2012-10-13.17:45:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350150244.3365.48.camel@localhost.localdomain>
In-reply-to <1350149151.92.0.20972484563.issue16203@psf.upfronthosting.co.za>
Content
> Tim, my point is that if the MULTILINE flag happens to be turned on,
> '$' won't just match at the end of the string (or slice), it'll also
> match at a newline, so wrapping the pattern in (?:...)$ in that case
> could give the wrong answer, but wrapping it in (?:...)\Z would give
> the right answer.

This means Tim and Guido are right that a dedicated fullmatch() method
is desireable.
History
Date User Action Args
2012-10-13 17:45:43pitrousetrecipients: + pitrou, gvanrossum, tim.peters, mrabarnett, serhiy.storchaka
2012-10-13 17:45:43pitroulinkissue16203 messages
2012-10-13 17:45:43pitroucreate