Skip to content
Snippets Groups Projects
Commit 2c7460d7 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

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

recognized cause of the dash in the name.
parent b60a04c6
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ sub Lookup($$) ...@@ -63,7 +63,7 @@ sub Lookup($$)
$query_result = $query_result =
DBQueryWarn("select * from projects where pid_idx='$token'"); DBQueryWarn("select * from projects where pid_idx='$token'");
} }
elsif ($token =~ /^\w*$/) { elsif ($token =~ /^[-\w]*$/) {
$query_result = $query_result =
DBQueryWarn("select * from projects where pid='$token'"); DBQueryWarn("select * from projects where pid='$token'");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment