diff regex fine tuning