X-Git-Url: http://git.bytex64.net/?p=conv.git;a=blobdiff_plain;f=conv.pl;h=50d205d8781650d4dba8a6b038dbd06ca23d112c;hp=2378828defe9c118a1dc5eabad84e14762617ea6;hb=feb98acbdff7690dee8fc9f6ccc23302f7d56cc9;hpb=f3ee86fe378b5f0f8e0d1391e72f3a3bfca83bea diff --git a/conv.pl b/conv.pl index 2378828..50d205d 100755 --- a/conv.pl +++ b/conv.pl @@ -75,7 +75,7 @@ while () { s/\s+$//; next if /^$/; - if (/^([\w.]+)\s*=>\s*([\w.]+)\s*:\s*(.*)$/) { + if (/^([\w.-]+)\s*=>\s*([\w.-]+)\s*:\s*(.*)$/) { $rules{$2}{$1} = $3; } elsif (/^($var_re)\s*=\s*(.*)$/) { $vars{$1} = expand($2);