This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Simplify compile time [^..] complement
authorKarl Williamson <public@khwilliamson.com>
Sun, 24 Jun 2012 20:16:44 +0000 (14:16 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sat, 30 Jun 2012 04:22:41 +0000 (22:22 -0600)
commitea364ff596d82b2599af75ca11c936a786c68ea9
treee916fdbc31df902b4153fa929201a703560a1613
parentcfbb2758d67aedfe8cfc4682385ae11a84a7a7c4
regcomp.c: Simplify compile time [^..] complement

This simply moves the code that populates the bitmap and combines the
two inversion lists to after the inversion (the differences are shown
much greater than there really are, since a move is done.)  This greatly
simplifies complementing the character class.
regcomp.c