Both regex and command are now required inputs.