]> git.madduck.net Git - etc/vim.git/blob - tests/data/preview/format_unicode_escape_seq.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Rename design label to style because it's clearer (#3547)
[etc/vim.git] / tests / data / preview / format_unicode_escape_seq.py
1 x = "\x1F"
2 x = "\\x1B"
3 x = "\\\x1B"
4 x = "\U0001F60E"
5 x = "\u0001F60E"
6 x = r"\u0001F60E"
7 x = "don't format me"
8 x = "\xA3"
9 x = "\u2717"
10 x = "\uFaCe"
11 x = "\N{ox}\N{OX}"
12 x = "\N{lAtIn smaLL letteR x}"
13 x = "\N{CYRILLIC small LETTER BYELORUSSIAN-UKRAINIAN I}"
14 x = b"\x1Fdon't byte"
15 x = rb"\x1Fdon't format"
16
17 # output
18
19 x = "\x1f"
20 x = "\\x1B"
21 x = "\\\x1b"
22 x = "\U0001f60e"
23 x = "\u0001F60E"
24 x = r"\u0001F60E"
25 x = "don't format me"
26 x = "\xa3"
27 x = "\u2717"
28 x = "\uface"
29 x = "\N{OX}\N{OX}"
30 x = "\N{LATIN SMALL LETTER X}"
31 x = "\N{CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I}"
32 x = b"\x1fdon't byte"
33 x = rb"\x1Fdon't format"