On Sun, Apr 24, 2016 at 2:37 AM, Manuel Ortega <[email protected]>
wrote:

> Well this is fairly recent, but I don't know which patch did it.  The old
> regex engine's behavior broke.
>
> To reproduce:
>
> vim -u NONE -N -c "set re=1"
>
> Put this text in a buffer: Motörhead
>
> (That second "o", with the umlaut, is "<ö> 246, Hex 00f6,  Octal 366"
> according to 'ga'.)
>
> :syn match foo '[[:print:]]\+'
> :hi foo guifg=green
>
> Now notice that all the letters in "Motörhead" except the fancy one are
> green.  This seems like a bug; they should all be green.  Surely "ö" is
> "printable".  Also notice that if you replace [[:print:]] with [[:alnum:]]
> it's the same problem.
>
> I could swear up and down that Vim did not formerly do this with &re=1;
> Vim doesn't do it *now* if &re=0.  I'm on OS X 10.11.4, with Vim from HEAD.
>

Bisection reveals that the problem was introduced by 7.4.704, from a year
ago.

-Manny

-- 
-- 
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