The INI file format is defined as:
WHITESPACE: 0x20, \n, \t, \r
IDENTIFIER: A-Z a-z 0-9 _ - , + . $ ? /
STRING : Any set of symbols
Basic syntax is comprised of SECTIONs.
A SECTION is defined as:
SECTIONNAME is an IDENTIFIER.
OPTION can be repeated any number of times, once per line.
OPTION is defined as one of:
KEY = "VALUE"
KEY = VALUE
Where KEY is an IDENTIFIER and VALUE is a STRING.
WHITESPACE should always be omitted.
COMMENTS should be stripped, and are defined as text occurring in:
Example file below. Note that the second line is technically invalid.
The event handler must decide whether this should be allowed.
hi = clams
bye = "NO CLAMS"