procmail
[Top] [All Lists]

Re: Procmail condition to capture URLs

1998-04-03 03:57:58
On Fri, 3 Apr 1998 12:06:40 +0200 (MET DST), Ralph SOBEK
<sobek(_at_)irit(_dot_)fr> wrote:
* ()\/http://[^ <>:)]*
Any improvements?

Given the observation that URL:s very rarely end in punctuation, while
people sometimes write URL:s with punctuation after them, you might
want to require the last captured character to be alphabetic.

How about additional protocols such as ftp://, https://, etc? 
(news, mailto, gopher?)

/* era */

-- 
 Paparazzi of the Net: No matter what you do to protect your privacy,
  they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>