This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Validate above-Latin1 characters in \N{} aliases
authorKarl Williamson <public@khwilliamson.com>
Fri, 9 Nov 2012 17:18:17 +0000 (10:18 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sun, 11 Nov 2012 17:11:34 +0000 (10:11 -0700)
commitbde9e88d4f9dd5fc838744a75cfc6b9c1a2cfd82
treeffef94c2d69ab6ec5b65299dc97712b5b5669c81
parent7baadcd09acc8f332e8235cc586cedcaa3f4616c
Validate above-Latin1 characters in \N{} aliases

This completes the process of allowing users to define their own aliases
for \N{} in any language they choose.  Names have some validation
applied so that they can't, for example, begin with something that is a
digit in some Unicode script.  Tests and documentation are included in
this patch.  The loop in toke.c that does the validation for
user-supplied translators is revamped, and the messages that are output
when there is an error are fixed to work with UTF-8.
embedvar.h
intrpvar.h
lib/_charnames.pm
lib/charnames.pm
pod/perldelta.pod
pod/perldiag.pod
sv.c
t/lib/charnames/alias
t/re/pat_advanced.t
toke.c