From b3cba889444bb9487070931d5baaa55093b1a72e Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sun, 29 Jun 2008 15:53:06 +0000 Subject: [PATCH] added support for commas and apostrophes in folder names --- sbin/galleryImport.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/galleryImport.pl b/sbin/galleryImport.pl index 7ef370c62..1853c30e2 100644 --- a/sbin/galleryImport.pl +++ b/sbin/galleryImport.pl @@ -149,7 +149,7 @@ sub addAlbumFromFilesystem { if (scalar(@photos)) { # get album name my $albumName = $File::Find::name; - $albumName =~ s{.*\/([A-Za-z0-9\.-_\s]+)$}{$1}; + $albumName =~ s{.*\/([A-Za-z0-9\.-_'\,\s]+)$}{$1}; # create album print "Creating album $albumName\n";