[mew-int 2935] Re: Identify urls
Christophe TROESTLER <[email protected]> Fri, 05 Nov 2010 23:59:09 +0100 (CET)
| Newsgroups | gmane.mail.mew.general |
|---|---|
| Organization | Universite de Mons (http://math.umons.ac.be/an/) |
| Message-ID | <20101105.235909.176534554880769061.Christophe.Troestler@umons.ac.be> |
On Fri, 5 Nov 2010 16:40:34 -0200, Diogo F.S.Ramos wrote:
>
> > (setq mew-regex-url
> > (let ((u "[^ \n>()\"`'“”]*"))
> > (concat "\\b\\(\\(\\(file\\|news\\|mailto\\):\\)"
> > "\\|\\(\\(s?https?\\|ftp\\|gopher\\|telnet\\|wais\\)://\\)\\)"
> > "\\((" u ")\\|" u "[^ \n>()\"`'“”.,:]\\)+")))
>
> I couldn't eval your concat statement with C-xC-e but I guess I got
> the idea.
For some reason it was not rendered well (but the citation looks
fine). Let me try to attach it as as file.
(setq mew-regex-url
(let ((u "[^ \n>()\"`'“”]*"))
(concat "\\b\\(\\(\\(file\\|news\\|mailto\\):\\)"
"\\|\\(\\(s?https?\\|ftp\\|gopher\\|telnet\\|wais\\)://\\)\\)"
"\\((" u ")\\|" u "[^ \n>()\"`'“”.,:]\\)+")))