commit fbed2700af82c3e01838dc512642b0c4ab18a7ac parent 4ba9c52641bd83bd71526e540ba282e11829423c Author: Andreas Guldstrand <andreas.guldstrand@gmail.com> Date: Mon, 12 Dec 2016 00:03:15 +0200 SBO::Lib::Info: fix bug in parse_info with wrong key regex Diffstat:
| M | SBO-Lib/lib/SBO/Lib/Info.pm | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;