...

Text file src/github.com/BurntSushi/toml/internal/toml-test/tests/valid/string/hex-escape.toml

Documentation: github.com/BurntSushi/toml/internal/toml-test/tests/valid/string

     1# \x for the first 255 codepoints
     2
     3whitespace      = "\x20 \x09 \x1b \x0d\x0a"
     4bs              = "\x7f"
     5nul             = "\x00"
     6hello           = "\x68\x65\x6c\x6c\x6f\x0a"
     7higher-than-127 = "S\xf8rmirb\xe6ren"
     8
     9multiline = """
    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.
    18literal = '\x20 \x09 \x0d\x0a'
    19multiline-literal = '''
    20\x20 \x09 \x0d\x0a
    21'''

View as plain text