summaryrefslogtreecommitdiff
blob: 6d78cd4ed073063dbbe259da8bd85270a6efce06 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/urlview.c
+++ b/urlview.no-trailing-newline.c
@@ -46,7 +46,7 @@
 #include <rx/rxposix.h>
 #endif
 
-#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]"
+#define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \n\t.,;<>\"\\):]"
 #define DEFAULT_COMMAND "url_handler.sh %s"
 #define SYSTEM_INITFILE "/etc/urlview.conf"