[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Suggestion for wml::fmt::url
- From: Axel Beckert <nospam@thanx>
- Date: Sun, 10 Dec 2000 20:02:09 +0100
Hi!
On Fri, Dec 01, 2000 at 09:59:57PM +0100, Denis Barbier wrote:
> > 2. I don't know, if othe people would like this, but it seems useful
> > (at least to me :-) to linkify e-mail addresses like
> > <abe@cs.uni-sb.de> or <abe@cs.uni-sb.de>, too. So I added the
> > following replacements to the above:
> >
> > [[s|<(\S+?@\S+?)>|<<a href="mailto:$1" %attributes>$1</a>>|g]]
> > [[s|<(\S+?@\S+?)>|<<a href="mailto:$1" %attributes>$1</a>>|g]]
> > [...]
> Sounds good, i will certainly commit this change soon, thanks.
I noticed today that those regexps match message ids, too, because
they have similar--if not the same syntax. Has anyone an idea how to
distinguish between email addresses and message ids using regexps?
(The next step would be to build regexps for usenet message ids, so
that they link to the appropriate message on the news server... ;-)
But I think that this is only a problem, if the <URL> tag is used in
some kind of mailing list archive to linkify all those URLs in the
mails.
Regards, Axel
--
Axel Beckert - abe@cs.uni-sb.de - http://abe.home.pages.de/
Student of Computer Science, University of Saarland (Germany)
Artificial Intelligence Laboratory (AI Lab), Prof. Dr. W. Wahlster;
WWW-Administrator IBFI Schloss Dagstuhl; Students Representative
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com