aboutsummaryrefslogtreecommitdiff
path: root/iniparser-4.1/test/ressources/good_ini/twisted.ini
blob: 86e549fcbd3100384858a58b789f1861e81fe817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#
# Twisted.ini
# This file is meant for regression tests

# Different blank settings around the equal sign
[blanks]
a=1
b=1;
c=1; comment
d=1# comment

e =1
f =1;
g =1; comment
h =1# comment

i= 1
j= 1;
k= 1; comment
l= 1# comment

m = 1
n = 1;
o = 1; comment
p = 1# comment

q=1 ;
r=1 ; comment
s=1 ;comment
t=1 #comment

# Empty values
[empty]
a = ''
b = ""

c = '' ;
d = "" ;

e = '' ; comment
f = "" ; comment

g =
h = ;
i = ; comment
j = # comment

k=
l=;
m=;comment
n=#

# Peculiar values
[peculiar]
a=';';
b='#'#
c=';';comment
d='#'#comment
e=\;
f=\#
g=\;comment
h=\#comment
i=;;
j=##
k=;;;;;;;;;;
l=##########

# Quotes
[quotes]
s1='
s2=''
s3='''
s4=''''

d1="
d2=""
d3="""
d4=""""

m1='"'
m2="'"

h1=hello'world
h2='hello'world
h3='hello'world'

h4=hello"world
h5="hello"world
h6="hello"world"

# Section names
[a]
[ b]
[c ]
[ d ]
[ begin    end ]
[ open[ ]

# Multi-line inputs
[multi]
a = begin\
end
b = begin \
end
c = begin \
 end
d = 1\
2\
3\
4
e = 1 \ 
    2 \ 
    3 \  
    4
f = 1 ; \
hidden = because of the preceding backslash multi-lining the comment ;
visible = 1
g = 1 #\
and now this comment is hidden too \
and this one too
h = 1
multi \
line \
key = 1
multi \
line \
key = \
multi \
line \
value ;
# end of file