diff options
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r-- | src/regexp_nfa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index ed8efcfee..4d95f83f1 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) |