Browse Source

Added stripping on sq brackets

spesk1 4 years ago
parent
commit
59a96948f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      strip_filename.pl

+ 1 - 1
strip_filename.pl

@@ -16,7 +16,7 @@ sub strip_filename($) {
 	foreach my $char ( @chars ) {
 		if ( $char =~ m/\s/ ) {
 			next;
-		} elsif ( $char =~ m/\(|\)|\\|\'|\$|\!|,/ ) {
+		} elsif ( $char =~ m/\(|\)|\\|\'|\$|\!|,|\[|\]/ ) {
 			next;
 		} else {
 			print $fh $char;