summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/url.c b/url.c
index 7ab1e53..1ccc206 100644
--- a/url.c
+++ b/url.c
@@ -43,7 +43,7 @@ static const char *Pattern = {
 	"telnet|"
 	"vnc"
 	")"
-	":[^[:space:]>\"]+"
+	":([^[:space:]>\"()]|[(][^)]*[)])+"
 };
 static regex_t Regex;