diff options
| author | Andreas Schwab | 2013-07-25 23:40:51 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2013-07-25 23:40:51 +0000 |
| commit | 02e2beb94bff2a96f6925f25f2f90e1526e9adca (patch) | |
| tree | de60e0e770014c1f38200a61403c16c8d41411e9 | |
| parent | 57cff7120613c70198a934bfc94f08714ba2a1a8 (diff) | |
| download | emacs-02e2beb94bff2a96f6925f25f2f90e1526e9adca.tar.gz emacs-02e2beb94bff2a96f6925f25f2f90e1526e9adca.zip | |
gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950)
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 5d3de61aa91..3e7d8c992e7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-07-25 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * gnus-art.el (gnus-button-url-regexp): Make it match url in which | ||
| 4 | punctuation characters follow parentheses (bug#14950). | ||
| 5 | |||
| 1 | 2013-07-23 Katsumi Yamaoka <yamaoka@jpl.org> | 6 | 2013-07-23 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 7 | ||
| 3 | * gnus.el (gnus-continuum-version): | 8 | * gnus.el (gnus-continuum-version): |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 31a108a3c98..e65b9fb99e4 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -7177,15 +7177,17 @@ groups." | |||
| 7177 | "\\(?:" | 7177 | "\\(?:" |
| 7178 | ;; Match paired parentheses, e.g. in Wikipedia URLs: | 7178 | ;; Match paired parentheses, e.g. in Wikipedia URLs: |
| 7179 | ;; http://thread.gmane.org/47B4E3B2.3050402@gmail.com | 7179 | ;; http://thread.gmane.org/47B4E3B2.3050402@gmail.com |
| 7180 | "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" "[" chars "]*" | 7180 | "[" chars punct "]+" "(" "[" chars punct "]+" "[" chars "]*)" |
| 7181 | "\\(?:" "[" chars punct "]+" "[" chars "]" "\\)?" | ||
| 7181 | "\\|" | 7182 | "\\|" |
| 7182 | "[" chars punct "]+" "[" chars "]" | 7183 | "[" chars punct "]+" "[" chars "]" |
| 7183 | "\\)")) | 7184 | "\\)")) |
| 7184 | (concat ;; XEmacs 21.4 doesn't support POSIX. | 7185 | (concat ;; XEmacs 21.4 doesn't support POSIX. |
| 7185 | "\\([-a-z0-9_=!?#$@~%&*+\\/:;.,]\\|\\w\\)+" | 7186 | "\\([-a-z0-9_=!?#$@~%&*+\\/:;.,]\\|\\w\\)+" |
| 7186 | "\\([-a-z0-9_=#$@~%&*+\\/]\\|\\w\\)")) | 7187 | "\\([-a-z0-9_=#$@~%&*+\\/]\\|\\w\\)")) |
| 7187 | "\\)") | 7188 | "\\)") |
| 7188 | "Regular expression that matches URLs." | 7189 | "Regular expression that matches URLs." |
| 7190 | :version "24.4" | ||
| 7189 | :group 'gnus-article-buttons | 7191 | :group 'gnus-article-buttons |
| 7190 | :type 'regexp) | 7192 | :type 'regexp) |
| 7191 | 7193 | ||