From ce31c6dce6484f9c9cb4764e37c55f72746cda27 Mon Sep 17 00:00:00 2001 From: TingPing Date: Thu, 31 Jan 2013 23:58:18 -0500 Subject: only detect full paths on windows. closes #302 --- src/common/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/url.c') diff --git a/src/common/url.c b/src/common/url.c index c183a5c8..dad23b67 100644 --- a/src/common/url.c +++ b/src/common/url.c @@ -512,8 +512,8 @@ re_channel (void) /* PATH description --- */ #ifdef WIN32 -/* Windows path can be \ or .\ or ..\ or e.g. C: etc */ -#define PATH "^(\\\\|\\.{1,2}\\\\|[a-z]:).*" +/* Windows path can be C: D: etc */ +#define PATH "^([a-z]:).*" #else /* Linux path can be / or ./ or ../ etc */ #define PATH "^(/|\\./|\\.\\./).*" -- cgit 1.4.1