Iran says any attacker will regret action