2016-12-29 10:53:49 -05:00
|
|
|
no_file.ini: e=-1 user=0
|
|
|
|
... [section1]
|
|
|
|
... one=This is a test; line 3
|
|
|
|
... two=1234; line 4
|
|
|
|
... [ section 2 ]
|
|
|
|
... happy=4; line 8
|
|
|
|
... sad=; line 9
|
|
|
|
... [comment_test]
|
|
|
|
... test1=1;2;3; line 15
|
|
|
|
... test2=2;3;4;this won't be a comment, needs whitespace before ';'; line 16
|
|
|
|
... test;3=345; line 17
|
|
|
|
... test4=4#5#6; line 18
|
|
|
|
... test7=; line 21
|
|
|
|
... test8=; not a comment, needs whitespace before ';'; line 22
|
|
|
|
... [colon_tests]
|
|
|
|
... Content-Type=text/html; line 25
|
|
|
|
... foo=bar; line 26
|
|
|
|
... adams=42; line 27
|
|
|
|
... funny1=with = equals; line 28
|
|
|
|
... funny2=with : colons; line 29
|
|
|
|
... funny3=two = equals; line 30
|
|
|
|
... funny4=two : colons; line 31
|
|
|
|
normal.ini: e=0 user=101
|
|
|
|
... [section1]
|
|
|
|
... name1=value1; line 2
|
|
|
|
... name2=value2; line 5
|
|
|
|
bad_section.ini: e=3 user=102
|
|
|
|
bad_comment.ini: e=1 user=102
|
|
|
|
... [section]
|
|
|
|
... a=b; line 2
|
|
|
|
... user=parse_error; line 3
|
|
|
|
... c=d; line 4
|
|
|
|
user_error.ini: e=3 user=104
|
|
|
|
... [section1]
|
|
|
|
... single1=abc; line 2
|
|
|
|
... multi=this is a; line 3
|
|
|
|
... multi=multi-line value; line 4
|
|
|
|
... single2=xyz; line 5
|
|
|
|
... [section2]
|
|
|
|
... multi=a; line 7
|
|
|
|
... multi=b; line 8
|
|
|
|
... multi=c; line 9
|
|
|
|
... [section3]
|
|
|
|
... single=ghi; line 11
|
|
|
|
... multi=the quick; line 12
|
|
|
|
... multi=brown fox; line 13
|
|
|
|
... name=bob smith; line 14
|
2022-07-12 21:20:05 +12:00
|
|
|
... foo=bar; line 16
|
|
|
|
... foo=Hi World; line 17
|
2016-12-29 10:53:49 -05:00
|
|
|
multi_line.ini: e=0 user=105
|
|
|
|
bad_multi.ini: e=1 user=105
|
|
|
|
... [bom_section]
|
|
|
|
... bom_name=bom_value; line 2
|
|
|
|
... key“=value“; line 3
|
|
|
|
bom.ini: e=0 user=107
|
2019-04-08 20:44:21 +08:00
|
|
|
... [section1]
|
|
|
|
... single1=abc; line 2
|
|
|
|
... single2=xyz; line 3
|
|
|
|
... single1=def; line 5
|
|
|
|
... single2=qrs; line 6
|
|
|
|
duplicate_sections.ini: e=0 user=108
|
2019-10-05 16:27:07 +02:00
|
|
|
... [section0]
|
|
|
|
... key0=val0; line 6
|
|
|
|
... [section1]
|
|
|
|
... key1=val1; line 9
|
|
|
|
no_value.ini: e=2 user=109
|
2024-10-27 09:52:11 +01:00
|
|
|
... [_123456789_123456789_123456789_123456789_12345678]
|
|
|
|
... name=value; line 3
|
|
|
|
long_section.ini: e=0 user=110
|