Skip to content

Commit

Permalink
regexec.c: Replace code with equivlent inline fcn
Browse files Browse the repository at this point in the history
Don't repeat a paradigm
  • Loading branch information
khwilliamson committed May 28, 2021
1 parent c2a3435 commit c75fcb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions regexec.c
Expand Up @@ -6788,8 +6788,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
}
else {
if (utf8_target)
while (chars--)
uc += UTF8SKIP(uc);
uc = utf8_hop(uc, chars);
else
uc += chars;
}
Expand Down

0 comments on commit c75fcb4

Please sign in to comment.