aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-21 16:58:32 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-21 16:58:32 +0000
commita87d5ca9321f825f6864513bc7342ae161a7d547 (patch)
tree3a5b10f61fdd8e92b855b45d6128deb25624d8e4
parent[w3m-dev 02878] fix regexp [-...], [...-], []...] (diff)
downloadw3m-a87d5ca9321f825f6864513bc7342ae161a7d547.tar.gz
w3m-a87d5ca9321f825f6864513bc7342ae161a7d547.zip
url.c (URI_PATTERN): remove \
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog6
-rw-r--r--url.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c68aca2..567c124 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp>
+ * url.c (URI_PATTERN): remove \
+
+2002-01-22 Fumitoshi UKAI <ukai@debian.or.jp>
+
* [w3m-dev 02878] fix regexp [-...], [...-], []...]
* regexp.c (newRegex0): if first char is `-' or ']' after '[',
it isn't meta char.
@@ -2170,4 +2174,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.246 2002/01/21 16:38:43 ukai Exp $
+$Id: ChangeLog,v 1.247 2002/01/21 16:58:32 ukai Exp $
diff --git a/url.c b/url.c
index 940aac3..2f04ede 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.36 2002/01/21 15:56:13 ukai Exp $ */
+/* $Id: url.c,v 1.37 2002/01/21 16:58:32 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -2081,7 +2081,7 @@ searchURIMethods(ParsedURL *pu)
* escaped = "%" hex hex
*/
-#define URI_PATTERN "[\\-;/?:@&=+$,a-zA-Z0-9_.!~*'()%]*"
+#define URI_PATTERN "[-;/?:@&=+$,a-zA-Z0-9_.!~*'()%]*"
void
chkExternalURIBuffer(Buffer *buf)
{