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 ned.deily
Recipients bsdphk, ezio.melotti, mrabarnett, ned.deily
Date 2013-01-05.10:01:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357380101.28.0.247497164871.issue16870@psf.upfronthosting.co.za>
In-reply-to
Content
Note the warning about '^' in the documentation for the re search method:

"The optional second parameter pos gives an index in the string where the search is to start; it defaults to 0. This is not completely equivalent to slicing the string; the '^' pattern character matches at the real beginning of the string and at positions just after a newline, but not necessarily at the index where the search is to start."

http://docs.python.org/2/library/re.html#re.RegexObject.search
History
Date User Action Args
2013-01-05 10:01:41ned.deilysetrecipients: + ned.deily, ezio.melotti, mrabarnett, bsdphk
2013-01-05 10:01:41ned.deilysetmessageid: <1357380101.28.0.247497164871.issue16870@psf.upfronthosting.co.za>
2013-01-05 10:01:41ned.deilylinkissue16870 messages
2013-01-05 10:01:40ned.deilycreate