X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=contrib%2Fclean-segments.pl;h=8f9aa80749c99209c5939e2721333d0913b5f6b2;hb=36e15463221ffb8f2e1dc9903705d7be81d1d1f8;hp=5af3ae399b2ddb2597902c620bbfbe93ab34a3f0;hpb=ff89c9e6f03239f5a671352a29dc647cd284823f;p=cumulus.git diff --git a/contrib/clean-segments.pl b/contrib/clean-segments.pl index 5af3ae3..8f9aa80 100755 --- a/contrib/clean-segments.pl +++ b/contrib/clean-segments.pl @@ -31,7 +31,7 @@ foreach (glob "*.lbs") { while (defined($line = )) { chomp $line; - if ($line =~ m/^(\w+):\s*(.*)$/) { + if ($line =~ m/^([-\w]+):\s*(.*)$/) { $descriptor{$1} = $2; $last_key = $1; } elsif ($line =~/^\s/ && defined $last_key) {