Jason [WeatherServer] wrote:

>I don't know much about regular expressions,  is this the proper format  
>/^Medical -/g     I want any email with "Medical -" to be filter into a topic.


If you want to match any Subject: or Keywords: that *begins with*
"Medical -", you want

^Medical -

(note this also matches "medical -", as Topic matches ignore case)

See <http://docs.python.org/lib/re-syntax.html> and the HowTo
referenced therein.

-- 
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