diff --git a/bin/slubsipbuilder.pl b/bin/slubsipbuilder.pl
index 8dcdb43305b77e682605cd88ee8726cd4be39baf..b11d9d908a0833cb325d769ddbedaf325ac8d012 100755
--- a/bin/slubsipbuilder.pl
+++ b/bin/slubsipbuilder.pl
@@ -257,8 +257,8 @@ sub create_filecopyhash {
             ();
         } else {
             my $file=$File::Find::name;
-            if ($file !~ m#^[-A-Za-z0-9_\./]+$#) {
-                confess("file '$file' does not match regex '^[-A-Za-z0-9_\./]+\$'");
+            if ($file !~ m#^[-A-Za-z0-9_\.:\\/]+$#) {
+                confess("file '$file' does not match regex '^[-A-Za-z0-9_\.:\\/]+\$'");
             }
             my $source = $file;
             $filecopyhash{$source}->{'source'}=$file;