add regex in diff