From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30363 Path: main.gmane.org!not-for-mail From: Felix Lee Newsgroups: gmane.emacs.gnus.general Subject: Re: strange highlightings Date: Tue, 25 Apr 2000 12:24:56 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <20000425192525.91A5ED051E@mailhost.sclp.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035166912 8047 80.91.224.250 (21 Oct 2002 02:21:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:21:52 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 12026D051E for ; Tue, 25 Apr 2000 15:26:09 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB24063; Tue, 25 Apr 2000 14:26:02 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Apr 2000 14:25:22 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA07145 for ; Tue, 25 Apr 2000 14:25:12 -0500 (CDT) Original-Received: from mail1.teleport.com (mail1.teleport.com [192.108.254.26]) by mailhost.sclp.com (Postfix) with SMTP id 91A5ED051E for ; Tue, 25 Apr 2000 15:25:25 -0400 (EDT) Original-Received: (qmail 28115 invoked from network); 25 Apr 2000 19:25:23 -0000 Original-Received: from ip216-26-43-114.dsl.du.teleport.com (HELO teleport.com) (216.26.43.114) by mail1.teleport.com with SMTP; 25 Apr 2000 19:25:23 -0000 Original-To: ding@gnus.org In-reply-to: on 25 Apr 2000 16:31:34 +0200. Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30363 how about, it's a URL if it starts with: \b[a-zA-Z]+:// (ftp://99.99.9.9/marklar/) \b[wW][wW][wW][0-9]*\. (WWW9.Foo.Bar/marklar/) I ran these patterns against my mail archive, and came up with very few false positives. the only one that troubles me is 'comp.infosystems.www.misc', which can be handled by making sure there isn't a '.' before 'www'. Finding the end of a URL is a little tricky.. haven't thought of a good way of doing that yet. --