commit:feb98acbdff7690dee8fc9f6ccc23302f7d56cc9
author:Chip Black
committer:Chip Black
date:Wed Dec 31 17:47:58 2008 -0600
parents:f3ee86fe378b5f0f8e0d1391e72f3a3bfca83bea
Allow - in file extensions
diff --git a/conv.pl b/conv.pl
line changes: +1/-1
index 2378828..50d205d
--- a/conv.pl
+++ b/conv.pl
@@ -75,7 +75,7 @@ while (<CONF>) {
     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);