Commit e73ab8cc authored by Leigh B Stoller's avatar Leigh B Stoller

Gack, at some point my feeble brain forgot that I need four slashes

instead of two slashes, if I want a single slash in the DB.
parent 43014370
......@@ -37,12 +37,12 @@ sub DoUpdate($$$)
DBQueryFatal("REPLACE INTO table_regex VALUES ".
"('virt_nodes','inner_elab_role','text','regex',".
"'^(boss|boss\\+router|boss\\+fs\\+router|router|ops|ops\\+fs|fs|node)\$',".
"'^(boss|boss\\\\+router|boss\\\\+fs\\\\+router|router|ops|ops\\\\+fs|fs|node)\$',".
"0,0,NULL)");
DBQueryFatal("REPLACE INTO table_regex VALUES ".
"('virt_nodes','loadlist','text','regex', ".
" '^[-\\w\\.+,]+\$',2,256,NULL)");
" '^[-\\\\w\\\\.+,]+\$',2,256,NULL)");
return 0;
}
......
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