[Mailman-Users] Help with regular expression filters

e.c. eminmn at sysmatrix.net
Tue Feb 3 21:08:56 CET 2015


At least in Emacs the following regexp works

\_<test\_>

that finds 'test' but not 'fastest' or 'testy'

bash, perl, ruby, etc. may have different ways of doing the same thing.

ed

On Tue, Feb 3, 2015 at 12:46 PM, Marino Pascal <mpascal at gmail.com> wrote:
> I have a filter to block the word "test" from Subject because some people
> won't receive list mail for a few hours and think it's broken so they post
> "test"
> And once one person does it everybody else feels obligated to "test".
> So I use
> Subject: .*test
> Problem with that is that it also blocks "latest" and "testimony".
> I suck at regular expressions and would appreciate some help.
> I also don't have a test list to test this :)
>
> Thanks
> Marino Pascal
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://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:
> https://mail.python.org/mailman/options/mailman-users/eminmn%40sysmatrix.net


More information about the Mailman-Users mailing list