On 11 December 2013, Axel Bender <[email protected]> wrote:
> @LCD 47
>
> Well, that's a good question. However, the behavior should be
> consistent between the two RE engines and should not depend on a
> setting like ignorecase.
[...]

    Well, undefined behaviour is just that, undefined.  There is no such
thing as consistent undefinedness. :)

    Anyway, "case insensitive" for Unicode is a complicated concept.
F.i. uppercase and lowercase are well-defined properties, but if "char"
is a lower case character you can't assume that tolower(toupper(char))
gets you back to char, and that doesn't even involve composite
characters.  If you're relying on regexps doing the right case folding
in all possible situations, your expectations are unrealistic.

    /lcd

-- 
-- 
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/groups/opt_out.

Raspunde prin e-mail lui