From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Yeske Newsgroups: gmane.emacs.devel Subject: rcirc-url-regexp bugfix Date: Wed, 22 Feb 2006 20:50:23 -0800 Message-ID: <873bia65m8.fsf@cut.bc.hsia.telus.net> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1140805096 27063 80.91.229.2 (24 Feb 2006 18:18:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2006 18:18:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 24 19:18:14 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FChVu-00079G-Aw for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2006 19:17:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FChVt-0000yQ-Dm for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2006 13:17:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FCA2l-0002fR-9a for emacs-devel@gnu.org; Thu, 23 Feb 2006 01:33:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FC8lh-0007hf-C0 for emacs-devel@gnu.org; Thu, 23 Feb 2006 00:12:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FC8Qy-0004eS-0l for emacs-devel@gnu.org; Wed, 22 Feb 2006 23:50:33 -0500 Original-Received: from [199.185.220.220] (helo=priv-edtnes57.telusplanet.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FC8Xb-0007q8-9L for emacs-devel@gnu.org; Wed, 22 Feb 2006 23:57:23 -0500 Original-Received: from cut.bc.hsia.telus.net ([207.6.239.189]) by priv-edtnes57.telusplanet.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20060223045030.OKAB10855.priv-edtnes57.telusplanet.net@cut.bc.hsia.telus.net> for ; Wed, 22 Feb 2006 21:50:30 -0700 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50899 Archived-At: 2006-02-22 Ryan Yeske * net/rcirc.el (rcirc-url-regexp): Match entire url when it starts with "www". *** rcirc.el 19 Feb 2006 16:49:04 -0800 1.16 --- rcirc.el 22 Feb 2006 20:45:37 -0800 *************** *** 1635,1646 **** (defvar rcirc-url-regexp (rx-to-string `(and word-boundary ! (or "www." ! (and (or "http" "https" "ftp" "file" "gopher" "news" "telnet" ! "wais" "mailto") ! "://" ! (1+ (char "-a-zA-Z0-9_.")) ! (optional ":" (1+ (char "0-9")))) (and (1+ (char "-a-zA-Z0-9_.")) (or ".com" ".net" ".org") word-boundary)) --- 1635,1647 ---- (defvar rcirc-url-regexp (rx-to-string `(and word-boundary ! (or (and ! (or (and (or "http" "https" "ftp" "file" "gopher" "news" ! "telnet" "wais" "mailto") ! "://") ! "www.") ! (1+ (char "-a-zA-Z0-9_.")) ! (optional ":" (1+ (char "0-9")))) (and (1+ (char "-a-zA-Z0-9_.")) (or ".com" ".net" ".org") word-boundary))