aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 17:25:52 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 17:25:52 +0000
commit40d405e05b078333222f942aa95632e1963d8bb9 (patch)
tree2f66e9cbb7edb36112cc6c6d68f518ff8ff084fc /main.c
parent*** empty log message *** (diff)
downloadw3m-40d405e05b078333222f942aa95632e1963d8bb9.tar.gz
w3m-40d405e05b078333222f942aa95632e1963d8bb9.zip
[w3m-dev 02418]
main.c: mailto: like pattern to mark as anchor search.c: check NULL add disp_message() by ukai
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
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 <signal.h>
@@ -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;