This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Slightly shorten most regex patterns
authorKarl Williamson <khw@cpan.org>
Tue, 8 Sep 2015 04:18:55 +0000 (22:18 -0600)
committerKarl Williamson <khw@cpan.org>
Tue, 8 Sep 2015 16:05:56 +0000 (10:05 -0600)
commit992001bfb28aa89a918dfb566d0413ea40d9b0f5
tree4a3674e24f8dd55b992fab482eb528a14c17b266
parent308482c27259302fb2ca8c60b8383609a0e9f314
Slightly shorten most regex patterns

A compiled pattern requires a byte for each non-default modifier, like
/i.  Previously, the worst case was presumed in allocating the space
(every modifier being non-default).  Now, only the actual needed space
is reserved.
globvar.sym
regcomp.c