res->res_job.run_cmds = res_all.res_job.run_cmds;
res->res_job.RunScripts = res_all.res_job.RunScripts;
+ /* TODO: JobDefs where/regexwhere doesn't work well (but this
+ * is not very useful) */
+
+ /* we take RegexWhere before all other options */
if (!res->res_job.RegexWhere
&&
(res->res_job.strip_prefix ||