Commit 2c7460d7 authored by Leigh Stoller's avatar Leigh Stoller

Fix up a perl regex that was preventing emulab-ops from being

recognized cause of the dash in the name.
parent b60a04c6
......@@ -63,7 +63,7 @@ sub Lookup($$)
$query_result =
DBQueryWarn("select * from projects where pid_idx='$token'");
}
elsif ($token =~ /^\w*$/) {
elsif ($token =~ /^[-\w]*$/) {
$query_result =
DBQueryWarn("select * from projects where pid='$token'");
}
......
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