This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regex: Free a ANYOF node bit
authorKarl Williamson <khw@cpan.org>
Wed, 16 Dec 2015 18:05:17 +0000 (11:05 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 18 Dec 2015 05:13:57 +0000 (22:13 -0700)
commit108316fb65dc7243a1c5d87b4b29068b7d62d32e
tree949b70cb1433f8c4e2aa9aa8fd41acf170e71045
parent4130e767d71ebdb250e9f52a2eee2f7b9e51af25
regex: Free a ANYOF node bit

This is done by combining 2 mutually exclusive bits into one.  I hadn't
seen this possibility before because the name of one of them misled me.
It also misled me into turning on one that flag unnecessarily, and to
miss opportunities to not have to create a swash at runtime.  This
commit corrects those things as well.
regcomp.c
regcomp.h
regexec.c