From 541091ef0636d8015ae802bdc2e16ad9de51f757 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 23 Jun 2009 23:56:22 +0000 Subject: [PATCH] [BUG_FIXED] Fix the clickable link issue for some links (add '~' in RegExp). git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@497 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Notepad_plus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 6bbd0583..746efa89 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -40,7 +40,7 @@ const TCHAR Notepad_plus::_className[32] = TEXT("Notepad++"); HWND Notepad_plus::gNppHWND = NULL; -const char *urlHttpRegExpr = "http://[a-z0-9_\\-\\+.:?&@=/%#]*"; +const char *urlHttpRegExpr = "http://[a-z0-9_\\-\\+~.:?&@=/%#]*"; int docTabIconIDs[] = {IDI_SAVED_ICON, IDI_UNSAVED_ICON, IDI_READONLY_ICON}; enum tb_stat {tb_saved, tb_unsaved, tb_ro};