Since you are calling me a liar now i'll not bother further with you, save to point out that with your suggestion to use "=~ /-/" you've only added another possibility for the whole thing to break, which is by adding a spurious "-" to the error message, while a structured exception would still work perfectly fine.