aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-12-12 00:03:15 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-12-12 00:03:15 +0200
commitfbed2700af82c3e01838dc512642b0c4ab18a7ac (patch)
tree8cd254b32cc041d17ed598dc69158586028674e5
parent4ba9c52641bd83bd71526e540ba282e11829423c (diff)
downloadsbotools-fbed2700af82c3e01838dc512642b0c4ab18a7ac.tar.xz
SBO::Lib::Info: fix bug in parse_info with wrong key regex
-rw-r--r--SBO-Lib/lib/SBO/Lib/Info.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib/Info.pm b/SBO-Lib/lib/SBO/Lib/Info.pm
index c000c4e..729ed14 100644
--- a/SBO-Lib/lib/SBO/Lib/Info.pm
+++ b/SBO-Lib/lib/SBO/Lib/Info.pm
@@ -216,7 +216,7 @@ sub parse_info {
my $pos = 0;
my %ret;
- while ($info_str =~ /\G([A-Z_]+)="([^"]+)"\n/g) {
+ while ($info_str =~ /\G([A-Za-z0-9_]+)="([^"]+)"\n/g) {
my $key = $1;
my @val = split " ", $2;
$ret{$key} = \@val;