Skip to content

Commit

Permalink
regexec.c: regrepeat() switch() on target utf8ness
Browse files Browse the repository at this point in the history
Many of the cases in the main switch() statement in regrepeat() begin
with

    if (utf8_target)

or similar.  These branches can be saved, and the code easier to
understand by including the utf8ness in the case statements, as this
commit does; taking advantage of the changes in the previous commit.
  • Loading branch information
khwilliamson committed Aug 16, 2021
1 parent bea493c commit ac1c0f7
Showing 1 changed file with 119 additions and 100 deletions.

0 comments on commit ac1c0f7

Please sign in to comment.