erc-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-discuss] Tiny erc-button.el patch


From: David Hansen
Subject: [Erc-discuss] Tiny erc-button.el patch
Date: Wed, 09 Aug 2006 23:29:02 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Hello,

the patch is against the ERC version that's included in
Emacs 22 and fixes highlighting of some URLs (parens are
quite common in wikipedia URLs).

David

--- /home/dhansen/cvs-src/emacs/lisp/erc/erc-button.el  2006-03-31 
14:51:56.000000000 +0200
+++ erc-button.el       2006-08-09 23:27:54.000000000 +0200
@@ -97,7 +97,7 @@
   (concat "\\(www\\.\\|\\(s?https?\\|"
           "ftp\\|file\\|gopher\\|news\\|telnet\\|wais\\|mailto\\):\\)"
           "\\(//[-a-zA-Z0-9_.]+:[0-9]*\\)?"
-          "address@hidden&*+\\/:;.,address@hidden&*+\\/]")
+          "address@hidden&*+\\/:;.,()address@hidden&*+\\/()]")
   "Regular expression that matches URLs."
   :group 'erc-button
   :type 'regexp)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]