Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from jkramer/master

Don't screw statements that contain ].
  • Loading branch information...
commit 30485da87b9de781129ba04e3c7e057c25c990d1 2 parents b372d26 + 7cd048d
@matiu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/SQL/Bibliosoph/CatalogFile.pm
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.