From bb93ebbbee7a46b780ed6c0d408827594b4102a4 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 11 Mar 2002 19:25:42 +0000 Subject: Change the order of the mailing list magic patterns so that the more * camel-mime-utils.c: Change the order of the mailing list magic patterns so that the more mailing-list specific ones are on the top. svn path=/trunk/; revision=16101 --- camel/ChangeLog | 6 ++++++ camel/camel-mime-utils.c | 34 +++++++++++++++++----------------- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 085f62bfdf..ecb3a3bd55 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2002-03-11 Ettore Perazzoli + + * camel-mime-utils.c: Change the order of the mailing list magic + patterns so that the more mailing-list specific ones are on the + top. + 2002-03-11 Jeffrey Stedfast These fixes should fix bug #21737. diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index b908f86059..bcd9806cd7 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -3665,23 +3665,6 @@ static struct { char *pattern; regex_t regex; } mail_list_magic[] = { - /* Sender: owner-gnome-hackers@gnome.org */ - /* Sender: owner-gnome-hacekrs */ - { "Sender", " *owner-([^@]+)@?([^ @\n\t\r>]*)" }, - /* Sender: gnome-hackers-owner@gnome.org */ - /* Sender: gnome-hackers-owner */ - { "Sender", " *([^@]+)-owner@?([^ @\n\t\r>]*)" }, - /* Sender: owner-gnome-hackers@gnome.org */ - /* Sender: */ - /* Sender: owner-gnome-hackers */ - /* Sender: */ - { "Return-Path", " ]+)@?([^ \n\t\r>]*)" }, - /* X-BeenThere: gnome-hackers@gnome.org */ - /* X-BeenThere: gnome-hackers */ - { "X-BeenThere", " *([^@]+)@?([^ \n\t\r>]*)" }, - /* Delivered-To: mailing list gnome-hackers@gnome.org */ - /* Delivered-To: mailing list gnome-hackers */ - { "Delivered-To", " *mailing list ([^@]+)@?([^ \n\t\r>]*)" }, /* X-Mailing-List: arcive/latest/100 */ /* X-Mailing-List: gnome-hackers@gnome.org */ /* X-Mailing-List: gnome-hackers */ @@ -3704,6 +3687,23 @@ static struct { /* X-List: gnome-hackers */ /* X-List: gnome-hackers@gnome.org */ { "X-List", " *([^@]+)@?([^ \n\t\r>]*)" }, + /* Sender: owner-gnome-hackers@gnome.org */ + /* Sender: owner-gnome-hacekrs */ + { "Sender", " *owner-([^@]+)@?([^ @\n\t\r>]*)" }, + /* Sender: gnome-hackers-owner@gnome.org */ + /* Sender: gnome-hackers-owner */ + { "Sender", " *([^@]+)-owner@?([^ @\n\t\r>]*)" }, + /* Delivered-To: mailing list gnome-hackers@gnome.org */ + /* Delivered-To: mailing list gnome-hackers */ + { "Delivered-To", " *mailing list ([^@]+)@?([^ \n\t\r>]*)" }, + /* Sender: owner-gnome-hackers@gnome.org */ + /* Sender: */ + /* Sender: owner-gnome-hackers */ + /* Sender: */ + { "Return-Path", " ]+)@?([^ \n\t\r>]*)" }, + /* X-BeenThere: gnome-hackers@gnome.org */ + /* X-BeenThere: gnome-hackers */ + { "X-BeenThere", " *([^@]+)@?([^ \n\t\r>]*)" }, }; char * -- cgit