2016-01-03 16:10 GMT+03:00 mrosic <[email protected]>:

> No, because I considered this to be a bug in vim.
> From my point of view [a-zA-Z] should include characters like ä. If you
> tell me that this is not going to get fixed in vim or that you do not
> consider this to be a bug then I will contact the maintainer of
> messages.vim.
>

​Unlike some other languages in VimL range always meant range in current
encoding’s codepoints. So in UTF-8 [a-zA-Z] is literally​ “from U+0061 to
U+007a (inclusive) or from U+0041 to U+005A (inclusive)” and that does not
include characters like ä: vim regexes never had normal unicode support,
and locale support is rather limited and only considers locale
encoding (actually,
&encoding and not locale encoding, but unless you specify otherwise in
documentation one is derived from the other) AFAIK. I do not think this is
going to be ever fixed because making character ranges locale-dependent
changes their semantics significantly and where previously plugin author
may expect [a-zA-Z] to match all latin ASCII letters with such change this
is no longer the case. E.g. in Perl correct representation of [a-zA-Z] in
UTF-8 regex mode is something like `(?:(?=\pL)\p{Block=Basic_Latin})`: not
something one wants to write constantly.



> —
> Reply to this email directly or view it on GitHub
> <https://github.com/vim/vim/issues/545#issuecomment-168496817>.
>
> --
> --
> You received this message from the "vim_dev" 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_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui