diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-21 16:58:32 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-21 16:58:32 +0000 |
commit | a87d5ca9321f825f6864513bc7342ae161a7d547 (patch) | |
tree | 3a5b10f61fdd8e92b855b45d6128deb25624d8e4 | |
parent | [w3m-dev 02878] fix regexp [-...], [...-], []...] (diff) | |
download | w3m-a87d5ca9321f825f6864513bc7342ae161a7d547.tar.gz w3m-a87d5ca9321f825f6864513bc7342ae161a7d547.zip |
url.c (URI_PATTERN): remove \
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | url.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -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 $ @@ -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) { |