url_regex.hh: temporary fix for percent encoding

This commit is contained in:
Daniel Micay 2012-09-22 20:33:26 -04:00
parent b036852674
commit 9f507663fd
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
#define PORT "(?:\\:[[:digit:]]{1,5})?" #define PORT "(?:\\:[[:digit:]]{1,5})?"
#define SCHEME "(?:[[:alpha:]][+-.[:alnum:]]*:)" #define SCHEME "(?:[[:alpha:]][+-.[:alnum:]]*:)"
#define USERPASS USERCHARS_CLASS "+(?:" PASSCHARS_CLASS "+)?" #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; const char * const url_regex = SCHEME "//(?:" USERPASS "\\@)?" HOST PORT URLPATH;