( and ) are valid characters for URLs

I noticed disambiguation wikipedia links weren't being matched properly.
This commit is contained in:
Simon Gomizelj 2012-06-07 07:33:54 -04:00
parent 2d30ac51c6
commit 8130c9dde1
1 changed files with 1 additions and 1 deletions

View File

@ -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}