(#1107) - corrected regex in publish