add regex in config