diff options
-rw-r--r-- | src/gmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmutil.c b/src/gmutil.c index ed6ef551..8dcffaa1 100644 --- a/src/gmutil.c +++ b/src/gmutil.c | |||
@@ -312,7 +312,7 @@ iBool isLikelyUrl_String(const iString *d) { | |||
312 | hostname */ | 312 | hostname */ |
313 | iRegExp *pattern = new_RegExp("^([a-z]+:)?//.*|" | 313 | iRegExp *pattern = new_RegExp("^([a-z]+:)?//.*|" |
314 | "^(//)?([^/?#: ]+)([/?#:].*)$|" | 314 | "^(//)?([^/?#: ]+)([/?#:].*)$|" |
315 | "^(\\w+(\\.\\w+)+|localhost)$", | 315 | "^([-\\w]+(\\.[-\\w]+)+|localhost)$", |
316 | caseInsensitive_RegExpOption); | 316 | caseInsensitive_RegExpOption); |
317 | iRegExpMatch m; | 317 | iRegExpMatch m; |
318 | init_RegExpMatch(&m); | 318 | init_RegExpMatch(&m); |