updated for version 7.3.982
Problem: In the new regexp engine \p does not work on multi-byte
characters.
Solution: Don't point to an integer but the characters.
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index d70e46a..9ae59ae 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -2931,7 +2931,7 @@
}
if (c == NUL)
n = 0;
- cc = (char_u *)&c;
+ cc = reginput;
/* swap lists */
thislist = &list[flag];
@@ -2960,7 +2960,7 @@
if (neglist->n > 0)
{
t = &neglist->t[0];
- neglist->n --;
+ neglist->n--;
i--;
}
else