(gnus-button-url-regexp): Improve handling of parenthesis.
authorReiner Steib <Reiner.Steib@gmx.de>
Sun, 16 Mar 2008 14:34:56 +0000 (14:34 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Sun, 16 Mar 2008 14:34:56 +0000 (14:34 +0000)
lisp/ChangeLog
lisp/gnus-art.el

index db7be0c..cb84b7b 100644 (file)
@@ -2,6 +2,7 @@
 
        * gnus-art.el (gnus-article-browse-html-article): Fix type in doc
        string.
+       (gnus-button-url-regexp): Improve handling of parenthesis.
 
 2008-03-14  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index 0c11284..30e84cf 100644 (file)
@@ -6899,7 +6899,8 @@ groups."
         (concat
          "\\(?:"
          ;; Match paired parentheses, e.g. in Wikipedia URLs:
-         "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "[" chars "]"
+         ;; http://thread.gmane.org/47B4E3B2.3050402@gmail.com
+         "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "[" chars "]*"
          "\\|"
          "[" chars punct     "]+" "[" chars "]"
          "\\)"))