[Mailman-Users] Topics Regexp

Mark Sapiro msapiro at value.net
Tue May 23 02:04:42 CEST 2006


Jesse Keating wrote:
>
>On Sun, 2006-05-21 at 08:23 -0700, Mark Sapiro wrote:
>> ^Medical -
>>
>> (note this also matches "medical -", as Topic matches ignore case)
>
>I also discovered (and solved my own problem) that spaces have to be
>escaped in the regex field.
>
>To match 'Fedora Core 5'  I had to use 'Fedora\ Core\ 5' in the regex
>box.


Yes. My bad.

I forgot about the fact that the regexps in Topic expressions are
compiled in VERBOSE mode (see
<http://www.amk.ca/python/howto/regex/regex.html#SECTION000450000000000000000>)
as well as IGNORECASE.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list