ZyX wrote:
> String with byte "\x85" matches '[\u0085]', while "\u0085" is actually a
> "\xC2\x85". Tested on vim-7.3 from Gentoo repositories and vim revision
> fae782ef63dd. Test command:
> vim -u NONE --cmd 'set encoding=utf-8' \
> -c 'echo "\x85"=~#''[\u0085]''' \
> -c 'qa!'
> should echo 0, but echoes 1.
Strange, without the [] it works OK.
--
hundred-and-one symptoms of being an internet addict:
242. You turn down a better-paying job because it doesn't come with
a free e-mail account.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
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