diff --git a/url_regex.hh b/url_regex.hh index 11eda38..ee9b395 100644 --- a/url_regex.hh +++ b/url_regex.hh @@ -9,7 +9,7 @@ #define PORT "(?:\\:[[:digit:]]{1,5})?" #define SCHEME "(?:[[:alpha:]][+-.[:alnum:]]*:)" #define USERPASS USERCHARS_CLASS "+(?:" PASSCHARS_CLASS "+)?" -#define URLPATH "(?:/[[:alnum:]\\Q$-_.+!*'(),;/?:@&=#\\E]*)" +#define URLPATH "(?:/[[:alnum:]\\Q$-_.+!*'(),;/?:@&=#%\\E]*)" const char * const url_regex = SCHEME "//(?:" USERPASS "\\@)?" HOST PORT URLPATH;