[FrameworkBundle] fix routing container parameter exception message and improve regex performance