This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
reginclass: Make explicit the length assumptions
authorKarl Williamson <public@khwilliamson.com>
Sun, 31 Oct 2010 18:36:49 +0000 (12:36 -0600)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 31 Oct 2010 23:10:54 +0000 (16:10 -0700)
commita5a291f55baf01a6b4b1013e2d3c722a0ad77432
tree61b017f595cbc3e384746d86e8a0c9d3ff853baa
parentf7ab54c630d4ff497dfc2435654b5aee46420b17
reginclass: Make explicit the length assumptions

reginclass assumes that can match always at least one character.  Make
that explicit, and now that we have that length always saved, don't
recalculate it.
regexec.c