blob: bdd6b76acb99bfce20e4a2019b9b0dda1ae89876 (
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
|
#https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Properties.htm
# mixing spaces
Truth = Beauty
Truth:Beauty
Truth Beauty
Truth :Beauty
! line continuations and escapes
fruits apple, banana, pear, \
cantaloupe, watermelon, \
kiwi, mango
key = \
value1 \\\
and value2\\
key\ 2 = value
key\\ 3 = value3
key \
= value
! empty keys and edge cases
key1 =
key2
key3 the value3
key4 the:value4
key5 the=value5
key6=the value6
! escapes in keys
key\ with\ spaces = value
key\nwith\nnewlines = value\nwith\nnewlines
! indented comment
! line continuations do \
not = work for comments
|