Fixup: Detect urls with unicode symbols

missed one in 77ecaa6093
This commit is contained in:
TingPing 2014-12-28 00:39:02 -05:00
parent 77ecaa6093
commit c4cb1b25ec
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ regex_match (const GRegex *re, const char *word, int *start, int *end)
}
/* Miscellaneous description --- */
#define DOMAIN "[_\\pL\\pN\\pS][-_\\pL\\pN\\pS]*(\\.[-_\\pL\\pN]+)*"
#define DOMAIN "[_\\pL\\pN\\pS][-_\\pL\\pN\\pS]*(\\.[-_\\pL\\pN\\pS]+)*"
#define TLD "\\.[\\pL][-\\pL\\pN]*[\\pL]"
#define IPADDR "[0-9]{1,3}(\\.[0-9]{1,3}){3}"
#define IPV6GROUP "([0-9a-f]{0,4})"