[gnus git] branch master updated: m0-7-179-g1567c06 =1= gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950)

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  1567c06c6b93c06ac88292b0c7697a346cfda82e (commit)
      from  3e2237222c94d96af5b1be03f775d886e926bfcc (commit)


- Log -----------------------------------------------------------------
commit 1567c06c6b93c06ac88292b0c7697a346cfda82e
Author: Andreas Schwab <[email protected]>
Date:   Thu Jul 25 23:40:38 2013 +0000

    gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9f62dab..a0b98be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-25  Andreas Schwab  <[email protected]>
+
+	* gnus-art.el (gnus-button-url-regexp): Make it match url in which
+	punctuation characters follow parentheses (bug#14950).
+
 2013-07-23  Katsumi Yamaoka  <[email protected]>
 
 	* gnus.el (gnus-continuum-version):
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index aa4b286..2fa8fdf 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -7178,7 +7178,8 @@ groups."
 	  "\\(?:"
 	  ;; Match paired parentheses, e.g. in Wikipedia URLs:
 	  ;; http://thread.gmane.org/[email protected]
-	  "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "[" chars "]*"
+	  "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)"
+	  "\\(?:" "[" chars punct "]+" "[" chars "]" "\\)?"
 	  "\\|"
 	  "[" chars punct     "]+" "[" chars "]"
 	  "\\)"))
@@ -7187,6 +7188,7 @@ groups."
       "\\([-a-z0-9_=#$@~%&*+\\/]\\|\\w\\)"))
    "\\)")
   "Regular expression that matches URLs."
+  :version "24.4"
   :group 'gnus-article-buttons
   :type 'regexp)
 

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    5 +++++
 lisp/gnus-art.el |    6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.