From: Colin Rafferty <colin.rafferty@msdw.com>
Subject: Re: Email address handling
Date: 07 Feb 2000 09:59:49 -0500 [thread overview]
Message-ID: <vgv3dr5hxcq.fsf@msdw.com> (raw)
In-Reply-To: merlyn@stonehenge.com's message of "05 Feb 2000 05:46:44 -0800"
Randal L Schwartz writes:
>>>>>> "Kai" =3D=3D Kai Gro=DFjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:
Kai> I think this is because it uses a regexp to find them, and the regexp
Kai> doesn't find normal mail addresses in the body. Doubtless it should
Kai> be easy to add this. Hm. Yes, there is the variable
Kai> gnus-button-alist which might help.
> I think you mistyped "h a r d" as "easy" there. The regex to match an
> RFC822 email address is about 7000 characters long, and would take far
> too long to scan each incoming message. (I've got some friends
> working on a similar Perl module, and are being likewise frustrated.)
It doesn't have to be perfect, it just needs to be close.
"[-+_a-zA-Z0-9.]@[-+_a-zA-Z0-9][-+_a-zA-Z0-9.]*[-+_a-zA-Z0-9]"
Maybe add a couple of more non-word characters, and you should get 95%
of what we're looking for, and no mismatches (except message-ids).
--
Colin
next prev parent reply other threads:[~2000-02-07 14:59 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-04 15:59 Roman Belenov
2000-02-04 16:10 ` Colin Marquardt
2000-02-04 17:10 ` Kai Großjohann
2000-02-04 17:13 ` Roman Belenov
2000-02-04 17:43 ` Kai Großjohann
2000-02-04 17:48 ` Roman Belenov
2000-02-04 17:58 ` Jason Rumney
2000-02-04 18:18 ` Kai Großjohann
2000-02-05 13:46 ` Randal L. Schwartz
2000-02-07 14:59 ` Colin Rafferty [this message]
2000-02-07 15:14 ` Kai Großjohann
2000-02-07 15:26 ` Colin Rafferty
2000-02-07 17:56 ` Steinar Bang
2000-02-07 12:34 ` Toby Speight
2000-02-07 19:00 ` Per Abrahamsen
2000-04-20 23:43 ` Lars Magne Ingebrigtsen
2000-02-05 12:48 ` Mike Fabian
2000-02-06 15:55 ` Kai Großjohann
2000-02-08 6:55 ` Mike Fabian
2000-02-08 12:15 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vgv3dr5hxcq.fsf@msdw.com \
--to=colin.rafferty@msdw.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).