diff options
author | M.Gergő | 2020-05-08 01:44:08 +0200 |
---|---|---|
committer | M.Gergő | 2020-05-08 01:44:08 +0200 |
commit | 8b42a04bf6df46fa06e2333a0b41b3c92e7ef4f1 (patch) | |
tree | 99361a10d87cbea685443105f6fa7df21bfc111f /tests/test.ini | |
parent | 669d3cdf0bd470fa827693423216854dcd2ca1b8 (diff) | |
download | lightconfini-8b42a04bf6df46fa06e2333a0b41b3c92e7ef4f1.tar.gz lightconfini-8b42a04bf6df46fa06e2333a0b41b3c92e7ef4f1.zip |
ASCII section
Diffstat (limited to 'tests/test.ini')
-rw-r--r-- | tests/test.ini | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/tests/test.ini b/tests/test.ini index 5c218d0..46710f0 100644 --- a/tests/test.ini +++ b/tests/test.ini @@ -1,4 +1,30 @@ - [A BBCD] + + +# Comments can be '#' or ';' + +;Global variables are allowed +global1 = 11 +global2 = aaa + +; The First character of Section or Parameter name should be alphanumerical, +; another caharacters can ba Alphanumerical or dot(.)/underscore(_)/hyphen(-) +[Sections.are_ASCII-characters] + +; Parameter values, withourt double quotation mark (") +; ban be like Sections! +parameter_names.also-ASCII = first.value-like_ascii + +; For value characters, the Space, or any other special character allowed only between two double-quotation-mark sign. +; Escaped characters, (\n, \t, etc.) or multi-byte characters (é, €, カ, ⠋, ঘঃ, 😍) are allowed here. +parameter2 = "I like \t emojis 😍 but, don't like mosquitoes カ ! :)" + +; Even! +parameter3 = "With double quotation mark \ +I can write multiline values, but I shoud \ +escapse the trailing newline with '\' sign! +" + + [A B€BCD] ghijkl=val1 ; komment ghijkl = val2 ;kom1 ghijkl = val3;kom3 @@ -10,8 +36,10 @@ eee = fff= aa= #commt - ;#//sdfsdf// - +--- ;#//sdfsdf// +[é] +aaa=bbb +cc="=dd" [test2];#coment ggg = aaa #commnta ;ad = "123456\ @@ -19,3 +47,11 @@ ggg = aaa #commnta ;wqeweq \ ;aabcd=efgh " + ;fghfgh +#####; +;abcdefghijklmnopqrst +;;;; +### Test confi\ng +abc= + ;. + |