(?<!...) not accepted as regular expression

Bug #380561 reported by Panagiotis Issaris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

When searching for a way to reject the mailinglist address as a sender (as we're getting lots of spam that way), I was looking at http://docs.python.org/library/re.html as suggested by the Mailman Admin GUI.

The expression I was trying to use based on "(?<!...)", was unfortunately not accepted.

I added "^(?<!listname@konijn\.)somesite.be$" to the accept_these_nonmembers list
and got "Error: Invalid value for variable: accept_these_nonmembers" as a result.

Revision history for this message
Mark Sapiro (msapiro) wrote :

What mailman version is this?

I tried the exact regexp "^(?<!listname@konijn\.)somesite.be$" without the quotes in accept_these_nonmembers in Mailman 2.1.12, and it was accepted.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.