erc-commit
[Top][All Lists]
Advanced

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

[Erc-commit] [commit][emacs22] erc-button: Allow parentheses in URLs


From: mwolson
Subject: [Erc-commit] [commit][emacs22] erc-button: Allow parentheses in URLs
Date: Sun, 14 Oct 2007 00:49:01 -0400

commit 5f865e1c1f2d56c97a2f5003ed937d4c3c01d714
Author: Michael Olson <address@hidden>
Date:   Mon May 28 20:53:49 2007 +0000

    erc-button: Allow parentheses in URLs
    
    2007-05-28  Michael Olson  <address@hidden>
    
        * erc-button.el (erc-button-url-regexp): Recognize parentheses as
        part of URLs.  Thanks to Lawrence Mitchell for the fix.
    git-archimport-id: address@hidden/erc--main--0--patch-145

diff --git a/ChangeLog b/ChangeLog
index 514a73b..4869e92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-28  Michael Olson  <address@hidden>
+
+       * erc-button.el (erc-button-url-regexp): Recognize parentheses as
+       part of URLs.  Thanks to Lawrence Mitchell for the fix.
+
 2007-05-21  Michael Olson  <address@hidden>
 
        * Makefile (SOURCE): Remove erc-pkg.el.
diff --git a/erc-button.el b/erc-button.el
index 435c72b..3210dd3 100644
--- a/erc-button.el
+++ b/erc-button.el
@@ -99,7 +99,7 @@ above them."
   (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]