2013-12-02 15:56, Nikolay Pavlov skrev:
 > > - Unicode support in regular expressions.
 > Can you also provide a simple use case, here ?

How do you match a Russian word? This will be /\b\p{Cyrillic}+\b/
in Perl. There is a big bunch of Unicode properties that you can
place inside figure braces there and they are there for a reason.
The most severe are more general groups: e.g. what is the regex
for matching variable name in python 3 (ignore reserved words for
simplicity)? Hint: it is not \<\a\w*\>: Python 3 supports using
non-ASCII in variable names.


Maybe it would be possible to find some way to build Vim with PCRE
with Unicode support instead of or in addition to Vim's native
regex engine?

/bpj

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to