This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Avoid some conditionals
authorKarl Williamson <khw@cpan.org>
Sat, 20 Oct 2018 23:24:53 +0000 (17:24 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 16 Nov 2018 17:10:56 +0000 (10:10 -0700)
commit48975adaf1ddd57fb4b698978ba40f3ef0271f74
treef4743520b66a8282e7f5fa3bb6114c1f6ef0fc4c
parent39cd6e6a879395d79d698d684b3839f9423d1607
regcomp.c: Avoid some conditionals

A pattern being UTF-8 implies it is /u.  By proper initialization of if
it is /u or not, we can avoid the existing additional tests for UTF-8 in
those places where we care about /u but don't care about UTF-8ness.
regcomp.c