Hello Vimmers.
I wrote a patch for this problem.  The cause of this problem is that
ignorecase() in src/search.c doesn't correctly parse "\%Vfoo" and
"\_Xbar".

diff -cr ../vim-7.1.314/src/search.c src/search.c
*** ../vim-7.1.314/src/search.c Tue Jun 10 14:46:41 2008
--- src/search.c        Fri Jun 13 00:54:20 2008
***************
*** 379,386 ****
            }
            else
  #endif
!               if (*p == '\\' && p[1] != NUL)  /* skip "\S" et al. */
!                   p += 2;
                else if (isupper(*p))
                {
                    ic = FALSE;
--- 379,395 ----
            }
            else
  #endif
!               if (*p == '\\')
!               {
!                   if (p[1] == '_' && p[2] != NUL)  /* skip "\_X" et
al. */
!                       p += 3;
!                   else if (p[1] == '%' && p[2] != NUL)  /* skip "\
%V" et al. */
!                       p += 3;
!                   else if (p[1] != NUL)  /* skip "\X" et al. */
!                       p += 2;
!                   else
!                       p += 1;
!               }
                else if (isupper(*p))
                {
                    ic = FALSE;

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui