From 8130c9dde11406568723267c05f7660a1920124a Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Thu, 7 Jun 2012 07:33:54 -0400 Subject: [PATCH] ( and ) are valid characters for URLs I noticed disambiguation wikipedia links weren't being matched properly. --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index 00163c6..ebfaf4d 100644 --- a/config.h +++ b/config.h @@ -5,7 +5,7 @@ #define CLICKABLE_URL //#define ICON_NAME "terminal" -static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*"; +static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+()]*"; #ifdef CLICKABLE_URL #define URL_COMMAND(URL_MATCH) {"/usr/bin/firefox", URL_MATCH, NULL}