Debian Codegraph @

tests/inputs/wiki.properties

raw
1 # https://en.wikipedia.org/wiki/.properties#Format
2 # You are reading the ".properties" entry.
3 ! The exclamation mark can also mark text as comments.
4 # The key characters =, and : should be written with
5 # a preceding backslash to ensure that they are properly loaded.
6 # However, there is no need to precede the value characters =, and : by a backslash.
7 website = https://en.wikipedia.org/
8 language = English
9 # The backslash below tells the application to continue reading
10 # the value onto the next line.
11 message = Welcome to \
12 Wikipedia!
13 # But if the number of backslashes at the end of the line is even, the next line is not included in the value. In the following example, the value for "key" is "valueOverOneLine\"
14 key = valueOverOneLine\\
15 # This line is not included in the value for "key"
16 # Add spaces to the key
17 key\ with\ spaces = This is the value that could be looked up with the key "key with spaces".
18 # The characters = and : in the key must be escaped as well:
19 key\:with\=colonAndEqualsSign = This is the value for the key "key:with=colonAndEqualsSign"
20 # Unicode
21 tab : \u0009
22 # If you want your property to include a backslash, it should be escaped by another backslash
23 path=c:\\wiki\\templates
24 # However, some editors will handle this automatically