It's just a hint. Likely you want that hyphen. Yet the last one, in the "range" -\s, it seems to be invalid. Are you sure you don't want to omit it, and just match \s? If not, better escape it with a backslash as it's in the middle of a character class.