[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#572: patch which seems to fix it
From: |
joakim |
Subject: |
bug#572: patch which seems to fix it |
Date: |
Sun, 03 Aug 2008 23:43:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Removing the () from the regexp seems to fix this.
The OP:s assesment that () are valid in an url is correct.
=== modified file 'lisp/thingatpt.el'
*** lisp/thingatpt.el 2008-05-06 13:57:18 +0000
--- lisp/thingatpt.el 2008-08-03 21:38:46 +0000
***************
*** 208,214 ****
(goto-char (point-min)))))
(defvar thing-at-point-url-path-regexp
! "[^]\t\n \"'()<>[^`{}]*[^]\t\n \"'()<>[^`{}.,;]+"
"A regular expression probably matching the host and filename or e-mail
part of a URL.")
(defvar thing-at-point-short-url-regexp
--- 208,214 ----
(goto-char (point-min)))))
(defvar thing-at-point-url-path-regexp
! "[^]\t\n \"'<>[^`{}]*[^]\t\n \"'<>[^`{}.,;]+"
"A regular expression probably matching the host and filename or e-mail
part of a URL.")
(defvar thing-at-point-short-url-regexp
--
Joakim Verona
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#572: patch which seems to fix it,
joakim <=