Commit 02e2beb9 authored by Andreas Schwab's avatar Andreas Schwab Committed by Katsumi Yamaoka
Browse files

gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation...

gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950)
parent 57cff712
2013-07-25 Andreas Schwab <schwab@linux-m68k.org>
* gnus-art.el (gnus-button-url-regexp): Make it match url in which
punctuation characters follow parentheses (bug#14950).
2013-07-23 Katsumi Yamaoka <yamaoka@jpl.org>
 
* gnus.el (gnus-continuum-version):
......
......@@ -7177,15 +7177,17 @@ groups."
"\\(?:"
;; Match paired parentheses, e.g. in Wikipedia URLs:
;; http://thread.gmane.org/47B4E3B2.3050402@gmail.com
"[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "[" chars "]*"
"[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)"
"\\(?:" "[" chars punct "]+" "[" chars "]" "\\)?"
"\\|"
"[" chars punct "]+" "[" chars "]"
"[" chars punct "]+" "[" chars "]"
"\\)"))
(concat ;; XEmacs 21.4 doesn't support POSIX.
"\\([-a-z0-9_=!?#$@~%&*+\\/:;.,]\\|\\w\\)+"
"\\([-a-z0-9_=#$@~%&*+\\/]\\|\\w\\)"))
"\\)")
"Regular expression that matches URLs."
:version "24.4"
:group 'gnus-article-buttons
:type 'regexp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment