This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove code duplication in S_to_utf8_substr() and S_to_byte_substr()
authorNicholas Clark <nick@ccl4.org>
Sun, 10 Dec 2006 23:05:25 +0000 (23:05 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 10 Dec 2006 23:05:25 +0000 (23:05 +0000)
commita1cac82e623c5bbb331e6465011c5b46dfbfc277
tree765d41726b3d032b5800bf8b245b05f5a9fc7dd5
parent0b3e77ec2e46a23afe97475f6b9bf7880fae85f1
Remove code duplication in S_to_utf8_substr() and S_to_byte_substr()
by taking advantage of how anchored_* and float_* are stored in arrays
to use a loop.

p4raw-id: //depot/perl@29503
regcomp.h
regexec.c