This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Refactor \b code to not use the FLAGS field
authorKarl Williamson <khw@cpan.org>
Thu, 31 Jul 2014 22:24:52 +0000 (16:24 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 22 Jan 2015 05:47:28 +0000 (22:47 -0700)
commit5c388b33f99c7a69f32810e1889f45652f531eab
tree4e765b37f0fa2f8fd970b1d858a727673bfaf144
parent1b643f6deec64c910eecb61a6b77ed1d1856927e
regexec.c: Refactor \b code to not use the FLAGS field

In one spot, \b and \B used the regnode FLAGS field to find out what
the character set type of bound they are.  This information is already
conveyed in the regnode type: BOUNDL, BOUNDU, etc.  By removing the use
of this redundant information, we can in a later commit stop storing it,
and free up the field for other uses.
regexec.c