This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Simplify
authorKarl Williamson <khw@cpan.org>
Tue, 1 May 2018 22:42:29 +0000 (16:42 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 25 Jun 2018 13:33:30 +0000 (07:33 -0600)
commita74bb78e4469c9f5ea806b57b155df6265d07975
tree1b292629c07a3fb91e03bba56cb1649c58886422
parent03774c76efee24550f9d9bd279df87fc9038add1
regcomp.c: Simplify

Under /a pattern matching, the matches of the [:posix:] classes are
restricted to the ASCII range.  Previously, in a time/space trade-off
that favored space, we created the list of matching characters at
pattern compilation time by ANDing the full-range Posix class with the
set of ASCII characters.

But now, the tables for just the ASCII-range classes are generated
anyway, so there's no need to do that compilation-time intersection.
This slightly simplifies the code.
embedvar.h
perlapi.h
perlvars.h
regcomp.c
utf8.c