Permalink
Browse files

Merge pull request #5 from jkramer/master

Don't screw statements that contain ].
  • Loading branch information...
matiu committed Apr 24, 2014
2 parents b372d26 + 7cd048d commit 30485da87b9de781129ba04e3c7e057c25c990d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/SQL/Bibliosoph/CatalogFile.pm
@@ -85,7 +85,7 @@ package SQL::Bibliosoph::CatalogFile; {
map {
[
map { $_ =~ s/^\s+|\s+$//g;$_ } # Trim
- split /\]\s*\n/,$_ # Separate name & statement
+ split /\]\s*\n/,$_, 2 # Separate name & statement
]
}
grep { $_ } # Filter out empty element

0 comments on commit 30485da

Please sign in to comment.