Is it allowed and valid to use hyphens in section definitions within INI files:
[my-section]
setting="anything"
?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on what you’re using to parse it. There’s no official INI specification. There’s some information and informal specs @ en.wikipedia.org/wiki/INI_file.
INI files are not normally used for any form of inter-process or other communication. Since it is localized in a relatively controlled environment there is less of a need for a formalized spec.