Add regexp compact replacement