[Mailman-Users] topic regep exclude

Mark Sapiro msapiro at value.net
Sun Sep 26 21:23:36 CEST 2004


Howard Moscovitz wrote:

>Mark Sapiro wrote:
>
>>Howard Moscovitz wrote:
>>
>>  
>>
>>>In the topic definition form, how can one specify a topic that is only 
>>>messages that DOES NOT have the string [G2] in it.
>>>    
>>>
>>
>>see http://docs.python.org/lib/re-syntax.html
>>
>>I would try
>>
>>  ^(?!.*\[G2\])
>>
>>or if case is not significant
>>
>>  ^(?!.*\[[Gg]2\])
>>
>>but this is only a suggested starting point. It seems to me that it
>>should work, but I don't know.
>>
<snip>
>>  
>>
>Well, I was able to duplicate this result using Python on my computeras 
>you suggested, thank you. I put that regep in the topic filter and 
>people who have selected that topic are still getting messages with [G2] 
>in the subject. Do you have to put the regep in quotes, single or 
>double, on the admin form?

As far as I know, you don't need to quote the regexp in the topic
definition, but I don't actually use topics on any list, and when I've
played with topics on a test list, I haven't gotten even simple cases
to work.

Thus, someone else with experience with topics needs to answer this.

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