mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
updated for version 7.4.292
Problem: Searching for "a" does not match accented "a" with new regexp
engine, does match with old engine. (David Bürgin)
"ca" does not match "ca" with accented "a" with either engine.
Solution: Change the old engine, check for following composing character
also for single-byte patterns.
This commit is contained in:
@@ -50,6 +50,8 @@ STARTTEST
|
||||
:call add(tl, [2, ".\u05b9", " y\u05bb\u05b9 x\u05b9 ", "y\u05bb\u05b9"])
|
||||
:call add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
|
||||
:call add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
|
||||
:call add(tl, [2, "a", "ca\u0300t"])
|
||||
:call add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
|
||||
|
||||
|
||||
:"""" Test \Z
|
||||
|
||||
@@ -67,6 +67,12 @@ OK 2 - ֹֻ
|
||||
OK 0 - .ֹֻ
|
||||
OK 1 - .ֹֻ
|
||||
OK 2 - .ֹֻ
|
||||
OK 0 - a
|
||||
OK 1 - a
|
||||
OK 2 - a
|
||||
OK 0 - à
|
||||
OK 1 - à
|
||||
OK 2 - à
|
||||
OK 0 - ú\Z
|
||||
OK 1 - ú\Z
|
||||
OK 2 - ú\Z
|
||||
|
||||
Reference in New Issue
Block a user