nimsuggest somehow transforms \n into \\x0A, not \x0A

/cc @Araq
This commit is contained in:
Timothee Cour 2018-11-01 14:22:09 -07:00 • committed by GitHub
commit f96e2764c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,5 +163,5 @@ tab characters (``\t``). The values of each column are:
Also, you won't find raw ``\n`` characters breaking the one
answer per line format. Instead you will need to parse sequences
in the form ``\xHH``, where *HH* is a hexadecimal value (e.g.
newlines generate the sequence ``\x0A``).
in the form ``\\xHH``, where *HH* is a hexadecimal value (e.g.
newlines generate the sequence ``\\x0A``).