diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-10-01 11:59:56 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-10-01 11:59:56 +0000 |
commit | 0b7fe1fb64816e5a8bc1d44add1790c2afab520b (patch) | |
tree | d636d76f02ecd2978564038607fc7fd2174b49ff /src/util.c | |
parent | d211a124950c0a648c417e1e81a553391531245d (diff) |
issue 65
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ void g_str_slist_free(GSList * list) GRegex *trg_uri_host_regex_new(void) { - return g_regex_new("^[^:/?#]+:?//(?:www\\.|tracker\\.)?([^/?#:]*)", + return g_regex_new("^[^:/?#]+:?//(?:www\\.|tracker\\.|\d+\\.)?([^/?#:]*)", G_REGEX_OPTIMIZE, 0, NULL); } |