Using regex replace to shorten long messages

The issue with this is Make’s replace function only accepts one regex flag at a time, and you’re using two.

I’ve already reported this bug a year ago.