<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Just Answer the Question, Dammit!</title>
	<atom:link href="http://blog.xcski.com/2004/05/04/just-answer-the-question-dammit/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xcski.com/2004/05/04/just-answer-the-question-dammit</link>
	<description>Everything I used to bore people on newsgroups and mailing lists with, now in one inconvenient place.</description>
	<pubDate>Wed, 08 Oct 2008 03:42:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: James</title>
		<link>http://blog.xcski.com/2004/05/04/just-answer-the-question-dammit#comment-215</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://xcski.com/wordpress/?p=205#comment-215</guid>
		<description>Well ... *has a look*

You'd probably define &lt;pre&gt;nbcre = re.compile(r'regex that matches the 4 hour warning goes here', re,IGNORECASE)&lt;/pre&gt; up the top (under [pra]cre)

Then in findaddr(msg), add &lt;pre&gt;elif state == 1 and nbcre.match(line):&lt;br /&gt;    return Stop&lt;/pre&gt;
This would only work if the 4 hour warning line came after the initial "failed delivery" line, but the logic should be easy enough to handle.

BTW, good luck with learning Python, it's one of the better languages out there (idiots on the Mailman list aside). The regex handling can be quite subtle though (watch out for the difference between match and search).
</description>
		<content:encoded><![CDATA[<p>Well &#8230; *has a look*</p>
<p>You&#8217;d probably define
<pre>nbcre = re.compile(r'regex that matches the 4 hour warning goes here', re,IGNORECASE)</pre>
<p> up the top (under [pra]cre)</p>
<p>Then in findaddr(msg), add
<pre>elif state == 1 and nbcre.match(line):    return Stop</pre>
<p>This would only work if the 4 hour warning line came after the initial &#8220;failed delivery&#8221; line, but the logic should be easy enough to handle.</p>
<p>BTW, good luck with learning Python, it&#8217;s one of the better languages out there (idiots on the Mailman list aside). The regex handling can be quite subtle though (watch out for the difference between match and search).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
