LuKreme wrote:

>On 8-May-2010, at 15:38, Mark Sapiro wrote:
>> 
>> 'Approved:(\s| )*Hon94Bar'
>
>how about
>
>Approved:([^<])*Password
>
>when searching the HTML portion?
>
>Or do you have to have the same search string for all portions?


No, I don't have to use the same pattern for all parts, but it's
already enough of a kludge. It would probably be better to optionally
define a special syntax to be used in the Subject: header for this
purpose.

If I were going to change the pattern beyond adding \xA0, I'd tend
toward something that would translate to 'Approved:.*?Hon94Bar' in
this case. However, this failure to recognize \xA0 as whitespace is
the first new problem that's been reported in almost 3 years, so I
hesitate to make a substantive change that might have unforseen
consequences.

-- 
Mark Sapiro <m...@msapiro.net>        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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to