On 10/18/02 2:40 PM, "Edmund Lau" <[EMAIL PROTECTED]> wrote:

> Back to mailman, I can use a "+" as a delimiter, but there needs to be a
> "-" right before it.  Is there a regex that would get that?  So the new
> VERP_FORMAT would be '%(bounces)s-+%(mailbox)s=%(host)s'.  I would assume
> this is better than just matching the last "-" anyway as, like you said, a
> user can have that character in their address.

That should work. Try this regexp:

'^(?P<bounces>.*?)-\+(?P<mailbox>[^=]+)=(?P<host>[^@]+)@.*$

 - Stoney


_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman-21/listinfo/mailman-developers

Reply via email to