On 13 May 2002, Matt Armstrong wrote:

> I'm not sure why you have the backtick (`) in your regexp.  Maybe that
> is causing the problem.  Here is the regexp I use (the code is part of
> a cond call):

>    ((string-match
>      "^\\(.+?\\)\\(.\\)dated\\2[0-9]+\\.[0-9a-fA-F]+\\(@.*\\)" addr)
>     (concat (match-string 1 addr) (match-string 3 addr)))

Thanks for your reply. I've changed my code to yours but unfortunately
the problem still occurs.

Eg.:

I have a record, with the name "Joe Foo", email "[EMAIL PROTECTED]" Now I
get a message from him, which has the following From field:

  From: [EMAIL PROTECTED]

BBDB correctly recognizes that the email address is "[EMAIL PROTECTED]" and
thus it comes up with Joe Foo's record. But for some reasons it
believes that the From: header of this message contains a user name
besides the email address as well (which is obviously false), and
thinks that this user name is "joe-dated". Therefore it asks if the
record's name (which was entered by me earlier) should be changed to
"joe-dated". I'd like to avoid this question (and not by setting
bbdb-use-alternate-names to nil). I have "joe" in the AKA field of the
record, if that counts.

Ideas?

Thanks,

-- 
BALI, Andra's                                      GPG KeyID: 78560E1C
[EMAIL PROTECTED], [EMAIL PROTECTED]                http://drewie.hup.hu
Debian GNU/Linux. The Universal Operating System.  http://www.debian.org

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to