Your error message needs to be updated to reflect the issue accordingly. Using - or _ as stated as acceptable still brings up and error, and literally calls it out in the window. Whether this will be fixed or not I'm unsure, but still a pretty strange issue you got here.