X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=contrib%2Fclean-segments.pl;h=8f9aa80749c99209c5939e2721333d0913b5f6b2;hb=048815121720c9cfb0bc8df48efd9aa0c846e3d0;hp=5af3ae399b2ddb2597902c620bbfbe93ab34a3f0;hpb=910255ec7fb85ef6c7b9515e9761892ca408c389;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) {