diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/regex/engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/regex/engine.c b/lib/libc/regex/engine.c index 4c3f555..2a1a75e 100644 --- a/lib/libc/regex/engine.c +++ b/lib/libc/regex/engine.c @@ -1075,7 +1075,7 @@ step(struct re_guts *g, OP(s = g->strip[pc+look]) != O_CH; look += OPND(s)) assert(OP(s) == OOR2); - FWD(aft, aft, look); + FWD(aft, aft, look + 1); } break; case OOR2: /* propagate OCH_'s marking */ |