Fix up "def" syntax regexp.