On Thu, Nov 01 2007, Sebastian Tennant wrote:
> Quoth Reiner Steib <[EMAIL PROTECTED]>:
>> (car (mail-extract-address-components
>> (mail-header-from message-reply-headers)))
>
> Hmm... I thought to myself "I bet there are some existing gnus routines
> that do this" while I was writing my hack.
[...]
> (i (or (string-match " [<[(]?[A-z0-9_-.]+@" unobscured) -1))
That's too simple. See e.g. the `+' in my address. There's a reason
that `mail-extract-address-components' has ~750 lines of code. ;-)
And it isn't even complete, IIRC.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english