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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index b16ba56ea..02fe49ea1 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -1516,7 +1516,6 @@ collection:
EMIT('-');
EMIT(NFA_CONCAT);
}
- mb_ptr_adv(regparse);
/* skip the trailing ] */
regparse = endp;
@@ -4582,7 +4581,7 @@ recursive_regmatch(state, pim, prog, submatch, m, listids)
/* Go back the specified number of bytes, or as far as the
* start of the previous line, to try matching "\@<=" or
- * not matching "\@<!". This is very ineffecient, limit the number of
+ * not matching "\@<!". This is very inefficient, limit the number of
* bytes if possible. */
if (state->val <= 0)
{