From ceb73b4e92f0ad58cc654679d0726bbc2e83144c Mon Sep 17 00:00:00 2001 From: Al Beano Date: Tue, 30 May 2017 19:02:09 +0100 Subject: [PATCH] oops --- platform/windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows.go b/platform/windows.go index e52b4e8..43c9def 100644 --- a/platform/windows.go +++ b/platform/windows.go @@ -17,7 +17,7 @@ func SanitiseFilename(filename string) (newName string, e error) { } func DirOf(filename string) (dirname string, e error) { - r, e := regexp.Compile(`[^\ ]+$`) + r, e := regexp.Compile(`[^\\]+$`) if e != nil { return }