This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Add nomix-ASCII option to to_fold functions
authorKarl Williamson <public@khwilliamson.com>
Sun, 6 May 2012 15:28:01 +0000 (09:28 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 22 May 2012 14:24:21 +0000 (08:24 -0600)
commita027039367d8b0d7e425d682b287cef406d072e2
treee6348723a5178078d85c6eba4c325a1c3f97d467
parent50ba90ffe5821effdba066df4bc3986dee904e0c
utf8.c: Add nomix-ASCII option to to_fold functions

Under /iaa regex matching, folds that cross the ASCII/non-ASCII
boundary are prohibited.  This changes _to_uni_fold_flags() and
_to_utf8_fold_flags() functions to take a new flag which, when set,
tells them to not accept such folds.

This allows us to later move the intelligence for handling this
situation to these centralized functions.
embed.fnc
proto.h
regcomp.c
utf8.c
utf8.h