This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Can join certain EXACTish node types
authorKarl Williamson <khw@cpan.org>
Mon, 3 Dec 2018 18:33:49 +0000 (11:33 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 8 Dec 2018 04:12:16 +0000 (21:12 -0700)
commit0aad8307e574d79b08fc27726b69f6136ce62333
tree4c2cad45aa9cd38b94c49def1f1dff4344ff36c0
parent326e89a8f626e8d34cef67843ff00bb29236368e
regcomp.c: Can join certain EXACTish node types

The optimization phase of regular expression pattern compilation looks
for adjacent EXACTish nodes and joins them if they are the same flavor
of EXACT.  Commits a9f8c7ac75c364c3e05305718f38c5f8ccd935d8 and
f6b4b99d2e584fbcd85eeed475eea10b87858e54 introduced two new nodes
that are so close to existing flavors that they are joinable with their
respective flavor.  This commit does that.
regcomp.c