From 40d405e05b078333222f942aa95632e1963d8bb9 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 16 Nov 2001 17:25:52 +0000 Subject: [w3m-dev 02418] main.c: mailto: like pattern to mark as anchor search.c: check NULL add disp_message() by ukai --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 8791dc3..923251d 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.5 2001/11/16 03:58:49 ukai Exp $ */ +/* $Id: main.c,v 1.6 2001/11/16 17:25:52 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include @@ -4005,6 +4005,7 @@ chkURL(void) "news:[^<> ][^<> ]*", "nntp://[a-zA-Z0-9][a-zA-Z0-9:%\\-\\./_]*", #endif /* USE_NNTP */ + "mailto:[^<> ][^<> ]*@[a-zA-Z0-9][a-zA-Z0-9\\-\\._]*[a-zA-Z0-9]", NULL, }; int i; -- cgit v1.2.3