Debian Codegraph @

internal/toml-test/tests/valid/string/hex-escape.toml

raw
1 # \x for the first 255 codepoints
2
3 whitespace = "\x20 \x09 \x1b \x0d\x0a"
4 bs = "\x7f"
5 nul = "\x00"
6 hello = "\x68\x65\x6c\x6c\x6f\x0a"
7 higher-than-127 = "S\xf8rmirb\xe6ren"
8
9 multiline = """
10 \x20 \x09 \x1b \x0d\x0a
11 \x7f
12 \x00
13 \x68\x65\x6c\x6c\x6f\x0a
14 \x53\xF8\x72\x6D\x69\x72\x62\xE6\x72\x65\x6E
15 """
16
17 # Not inside literals.
18 literal = '\x20 \x09 \x0d\x0a'
19 multiline-literal = '''
20 \x20 \x09 \x0d\x0a
21 '''