summaryrefslogtreecommitdiff
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r--src/regexp_nfa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index aa752d19f..e90f98d47 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -2019,7 +2019,7 @@ collection:
startc = oldstartc;
if (startc > endc)
- EMSG_RET_FAIL(_(e_reverse_range));
+ EMSG_RET_FAIL(_(e_reverse_range_in_character_class));
if (endc > startc + 2)
{
@@ -2128,7 +2128,7 @@ collection:
} // if exists closing ]
if (reg_strict)
- EMSG_RET_FAIL(_(e_missingbracket));
+ EMSG_RET_FAIL(_(e_missing_rsb_after_str_lsb));
// FALLTHROUGH
default: