diff options
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r-- | src/regexp_nfa.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index dac312528..9757d7c47 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -2561,14 +2561,15 @@ nfa_reg( if (paren != REG_NOPAREN && getchr() != Magic(')')) { if (paren == REG_NPAREN) - EMSG2_RET_FAIL(_(e_unmatchedpp), reg_magic == MAGIC_ALL); + EMSG2_RET_FAIL(_(e_unmatched_str_percent_open), + reg_magic == MAGIC_ALL); else - EMSG2_RET_FAIL(_(e_unmatchedp), reg_magic == MAGIC_ALL); + EMSG2_RET_FAIL(_(e_unmatched_str_open), reg_magic == MAGIC_ALL); } else if (paren == REG_NOPAREN && peekchr() != NUL) { if (peekchr() == Magic(')')) - EMSG2_RET_FAIL(_(e_unmatchedpar), reg_magic == MAGIC_ALL); + EMSG2_RET_FAIL(_(e_unmatched_str_close), reg_magic == MAGIC_ALL); else EMSG_RET_FAIL(_("E873: (NFA regexp) proper termination error")); } |