This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Use more precise definition of folding chars
authorKarl Williamson <public@khwilliamson.com>
Fri, 12 Oct 2012 02:43:47 +0000 (20:43 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 12 Oct 2012 04:01:25 +0000 (22:01 -0600)
commit175bc858cac2126947f4b8fa838835417c1430d1
treec8e2897cb994d2469d7779e1cd9fb74b30c77003
parent37ede9263a99fca456b98fcc30c0bd2b4656a434
regcomp.c: Use more precise definition of folding chars

Previously, in the Latin1 range, whether a character is alphabetic or
not has served as a surrogate for if the character participates in
folds, as it is a superset of the folding class, with two characters
which are alpha but not folding: the masculine and feminine ordinal
indicators.  But we have plenty of bits available in the bit array for
Latin1 character classifications, so this commit makes the definition
precise.
regcomp.c