commit 6f67861f34ef1fb6174b562c42a84cf68d474962
parent e9bee96a74588a9fd4248737eb44ec1e570844c0
Author: ukai <ukai>
Date: Mon, 21 Jan 2002 16:58:32 +0000
url.c (URI_PATTERN): remove \
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git 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.
diff --git a/url.c b/url.c
@@ -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)
{