diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index ed8efcfee7..4d95f83f1b 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -1653,8 +1653,11 @@ nfa_regatom(void) long_u tmp; if (cur) + { semsg(_(e_regexp_number_after_dot_pos_search), - no_Magic(c)); + no_Magic(c)); + return FAIL; + } tmp = n * 10 + (c - '0'); if (tmp < n) diff --git a/src/version.c b/src/version.c index 25b19f19ad..c2e491429c 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4592, /**/ 4591, /**/