move the regex editor into the param definition