Subject: bug#572: patch which seems to fix it

From: [email-masked]
Date: Sun, 03 Aug 2008 23:43:01 +0200

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