Hi Neil, The attached patch, from Jakub Wilk, corrects highlighting of \N{...} sequences that contain numbers or hyphens (e.g., \N{HYPHEN-MINUS}). Please consider applying and sending an updated syntax file to Bram.
Cheers, -- James GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <james...@debian.org>
--- unpacked/usr/share/vim/vim74/syntax/python.vim 2014-05-02 06:37:45.000000000 +0200 +++ /usr/share/vim/vim74/syntax/python.vim 2014-05-22 11:30:13.141883000 +0200 @@ -113,7 +113,7 @@ syn match pythonEscape "\\x\x\{2}" contained syn match pythonEscape "\%(\\u\x\{4}\|\\U\x\{8}\)" contained " Python allows case-insensitive Unicode IDs: http://www.unicode.org/charts/ -syn match pythonEscape "\\N{\a\+\%(\s\a\+\)*}" contained +syn match pythonEscape "\\N{\%(\a\|\d\|-\)\+\%(\s\%(\a\|\d\|-\)\+\)*}" contained syn match pythonEscape "\\$" if exists("python_highlight_all")