aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index e79c0c6259..7dbbb19545 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -10166,7 +10166,7 @@ static int nfa_regatom(void)
case 'e':
EMIT(NFA_ZEND);
rex.nfa_has_zend = true;
- if (!re_mult_next("\\zs")) {
+ if (!re_mult_next("\\ze")) {
return false;
}
break;