diff --git a/src/rcfile.c b/src/rcfile.c
index 98c9fb3148ddf30c2bb2d150d548b3542679c9dd..d18ab44ecd9b1ef58ff6a1daefe6f2c7bd21b405 100644
--- a/src/rcfile.c
+++ b/src/rcfile.c
@@ -649,7 +649,7 @@ void parse_colors(char *ptr, int rex_flags)
 	return;
 
     if (*ptr == '\0') {
-	rcfile_error(N_("Missing regex string"));
+	rcfile_error(N_("Missing regex string after '%s' command"), "color");
 	return;
     }