Commit 8715fbc8 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix up regex to allow - (dash) in node names.

parent 8f985e9c
......@@ -110,7 +110,7 @@ if ($mfs) {
my @temp;
foreach $n (@nodes) {
if ($n =~ /^([\w]+)$/) { push(@temp,$1); }
if ($n =~ /^([-\w]+)$/) { push(@temp,$1); }
else { warn("Ignoring bad data in node_id: '$n'\n"); }
}
@nodes=@temp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment