more test

This commit is contained in:
Kyryl Melekhin
2021-07-19 11:27:35 +00:00
parent 82aaa25bd1
commit f855e7d545
2 changed files with 10 additions and 0 deletions

1
pike.c
View File

@@ -585,6 +585,7 @@ int re_pikevm(rcode *prog, const char *s, const char **subp, int nsubp)
goto addthread;
case MATCH:
matched = nsub;
subidx = 0;
goto BreakFor;
}
nsub->ref--;