forked from aniani/vim
updated for version 7.3.1023
Problem: Searching for composing char only and using \Z has different
results.
Solution: Make it match the composing char, matching everything is not
useful.
This commit is contained in:
@@ -3294,7 +3294,7 @@ nfa_regmatch(start, submatch, m)
|
||||
* (no preceding character). */
|
||||
len += mb_char2len(mc);
|
||||
}
|
||||
if (ireg_icombine)
|
||||
if (ireg_icombine && len == 0)
|
||||
{
|
||||
/* If \Z was present, then ignore composing characters.
|
||||
* When ignoring the base character this always matches. */
|
||||
|
||||
Reference in New Issue
Block a user