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

Add many many more backslashes!

parent f5bb9f92
......@@ -55,7 +55,7 @@ sub DoUpdate($$$)
# Unrelated bug fix.
DBQueryFatal("REPLACE INTO table_regex VALUES ".
" ('virt_nodes','ips','text','regex', ".
" '^(\\d{1,2}:\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3} {0,1})*\$',".
" '^(\\\\d{1,2}:\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3} {0,1})*\$',".
" 0,2048,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