[Mailman-Developers] Topic regexps
Mark Sapiro
msapiro at value.net
Tue May 23 17:00:54 CEST 2006
There is a problem with Topic regexps.
The regexp entry is compiled in re.VERBOSE mode. This can be good, but
also causes problems as the 'help' doesn't mention this. Further, the
description says 'Topic keywords, one per line, to match against each
message.' The implication is if I put
one
two
three
in the regexp box, that this topic will match keywords 'one', 'two' or
'three', but actually it matches only 'onetwothree'.
I see several ways to address this.
1) change the processing of this field to effectively join the lines
with '|' - presumably this will break existing multiline entries, but
possibly they (at least ones which already contain '|') can be
converted.
2) do 1) as a list or mm_cfg option which defaults to not doing it.
3) change the description and help for the regexp to correctly reflect
what happens.
What do others think?
--
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-Developers
mailing list