This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.h: Free up bit in ANYOF FLAGS field
authorKarl Williamson <khw@cpan.org>
Fri, 25 Dec 2015 05:42:08 +0000 (22:42 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 26 Dec 2015 19:57:40 +0000 (12:57 -0700)
commitd1c40ef5b615823c7946ca520b1fedd807df469a
tree57598082a4553f5f31ec6f16418b2e06cac71ddd
parent037715a6d8890fc5a104494153096c071496030a
regcomp.h: Free up bit in ANYOF FLAGS field

I've long been confronted with trying to do things to create a spare bit
to use.  I thought it easier now, while it's fresh in my mind, to free
up one for future use, rather than re-learn things when it next becomes
necessary.  It would have been a different story if the freed bit had
required a performance penalty.

This commit also updates the comments about how to create even more
spare bits should it become necessary.
regcomp.c
regcomp.h
regexec.c