summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-12-28 00:39:02 -0500
committerTingPing <tingping@tingping.se>2014-12-28 00:40:51 -0500
commitc4cb1b25ec06a5b0cb718c6f8e74630df9a9bc64 (patch)
treedccd7a2d1a48743b367669b66d2249bd823f100c /src/common
parent77ecaa6093a8ba0d0edc1e59f3f08449bbe65f74 (diff)
Fixup: Detect urls with unicode symbols
missed one in 77ecaa6093a
Diffstat (limited to 'src/common')
-rw-r--r--src/common/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/url.c b/src/common/url.c
index 5f6dce65..c5a3e718 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -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})"