summaryrefslogtreecommitdiffstats
path: root/src/regexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 805056e3e6..5a17d24e7b 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -1359,7 +1359,7 @@ prog_magic_wrong(void)
if (UCHARAT(((bt_regprog_T *)prog)->program) != REGMAGIC)
{
- emsg(_(e_re_corr));
+ emsg(_(e_corrupted_regexp_program));
return TRUE;
}
return FALSE;
@@ -1982,7 +1982,7 @@ vim_regsub_both(
// Be paranoid...
if ((source == NULL && expr == NULL) || dest == NULL)
{
- emsg(_(e_null));
+ emsg(_(e_null_argument));
return 0;
}
if (prog_magic_wrong())
@@ -2289,7 +2289,7 @@ vim_regsub_both(
else if (*s == NUL) // we hit NUL.
{
if (copy)
- iemsg(_(e_re_damg));
+ iemsg(_(e_damaged_match_string));
goto exit;
}
else