/
githubmirror
/
inih
Обзор
Документация
Войти
/
githubmirror
/
inih
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
r47
tests/normal.ini
31 строка
749 B
Ben Hoyt
Issue #55: handle empty value immediately followed by comment
11 окт 2016, 16:31
11 окт 2016, 16:31
dbf771a
Код
Авторство
О чём код?
; This is an INI file [section1] ; section comment one=This is a test ; name=value comment two = 1234 ; x=y [ section 2 ] happy = 4 sad = [empty] ; do nothing [comment_test] test1 = 1;2;3 ; only this will be a comment test2 = 2;3;4;this won't be a comment, needs whitespace before ';' test;3 = 345 ; key should be "test;3" test4 = 4#5#6 ; '#' only starts a comment at start of line #test5 = 567 ; entire line commented # test6 = 678 ; entire line commented, except in MULTILINE mode test7 = ; blank value, except if inline comments disabled test8 =; not a comment, needs whitespace before ';' [colon_tests] Content-Type: text/html foo:bar adams : 42 funny1 : with = equals funny2 = with : colons funny3 = two = equals funny4 : two : colons