( and ) are valid characters for URLs
I noticed disambiguation wikipedia links weren't being matched properly.
This commit is contained in:
parent
2d30ac51c6
commit
8130c9dde1
2
config.h
2
config.h
|
@ -5,7 +5,7 @@
|
||||||
#define CLICKABLE_URL
|
#define CLICKABLE_URL
|
||||||
//#define ICON_NAME "terminal"
|
//#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
|
#ifdef CLICKABLE_URL
|
||||||
#define URL_COMMAND(URL_MATCH) {"/usr/bin/firefox", URL_MATCH, NULL}
|
#define URL_COMMAND(URL_MATCH) {"/usr/bin/firefox", URL_MATCH, NULL}
|
||||||
|
|
Loading…
Reference in New Issue