Mark Sapiro wrote:

>[EMAIL PROTECTED] wrote:
>>
>>Here's the result: In applying header_filter_rules, it looks like the
>>entire set of headers is being treated as a single multiline string.
>
>
>That is correct.
>
>
>>For reasons I don't entirely understand (remember I'm not a python
>>expert), "^" and "$" are not matching the beginning and end of
>>individual lines of a multiline string, even though I interpreted
>>http://www.python.org/doc/current/lib/matching-searching.html to say
>>that they should, and a colleague who's very familiar with Python also
>>thought they should.
>
>
>It works for me.


I suspect you have an old Mailman version. Prior to Mailman 2.1.7, the
regular expression search was not multiline and therefore '^' and '$'
would only match the beginning and end respectively of the string of
all the headers.

I have updated FAQs 3.32 (again) and 3.51 to note the version
dependence.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to