summaryrefslogtreecommitdiff
path: root/cpan/Module-Load-Conditional/lib/Module
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-01-15 20:03:09 -0700
committerKarl Williamson <khw@cpan.org>2015-01-16 13:17:23 -0700
commit7475a24fb1bcc3d031d46c3a83616671479634f5 (patch)
treea5db71195de4764549e45f1337bc0a67c1329f66 /cpan/Module-Load-Conditional/lib/Module
parent1cc8089a1939c02111513be3f1f49631ccb84757 (diff)
downloadperl-7475a24fb1bcc3d031d46c3a83616671479634f5.tar.gz
regcomp.c: Fix bug in /[A-Z]/i
This also fixes /[a-z]/i. When not under /i, these two ranges alone in a bracketed character class can be optimized into qr/[[:upper:]]/a and qr/[[:lower:]]/a respectively. This optimization saves space in the pattern (as no bitmap is needed), and I think it executes faster. But this optimization has to be foregone under /i (unless /a is also present) because otherwise certain non-ASCII characters such as the \N{KELVIN SIGN} don't match, and they should.
Diffstat (limited to 'cpan/Module-Load-Conditional/lib/Module')
0 files changed, 0 insertions, 0 deletions