Author armicron
Recipients Paul.Bonser, armicron, benjamin.peterson
Date 2013-09-06.16:57:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378486622.88.0.824642135648.issue18873@psf.upfronthosting.co.za>
In-reply-to
Content
-cookie_re = re.compile("coding[:=]\s*([-\w.]+)")
+cookie_re = re.compile("#[^\r\n]*coding[:=]\s*([-\w.]+)")

Regex matches only if the encoding expression is preceded by a comment.
History
Date User Action Args
2013-09-06 16:57:02armicronsetrecipients: + armicron, benjamin.peterson, Paul.Bonser
2013-09-06 16:57:02armicronsetmessageid: <1378486622.88.0.824642135648.issue18873@psf.upfronthosting.co.za>
2013-09-06 16:57:02armicronlinkissue18873 messages
2013-09-06 16:57:02armicroncreate