This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl #77654: quotemeta quotes non-ASCII consistently
authorKarl Williamson <public@khwilliamson.com>
Wed, 15 Feb 2012 18:31:27 +0000 (11:31 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 16 Feb 2012 01:02:35 +0000 (18:02 -0700)
commit2e2b25717dbde8d9ce48b4b8dc443e1d08166347
treeca10f48aa5a2fa0549aebebed4109a9d8c59aa24
parentadfec83175578461303ab5cfcc90d37cb3114126
perl #77654: quotemeta quotes non-ASCII consistently

As described in the pod changes in this commit, this changes quotemeta()
to consistenly quote non-ASCII characters when used under
unicode_strings.  The behavior is changed for these and UTF-8 encoded
strings to more closely align with Unicode's recommendations.

The end result is that we *could* at some future point start using other
characters as metacharacters than the 12 we do now.
15 files changed:
embed.fnc
embed.h
embedvar.h
intrpvar.h
lib/feature.pm
pod/perldelta.pod
pod/perlfunc.pod
pod/perlunicode.pod
pod/perluniintro.pod
pp.c
proto.h
regen/feature.pl
sv.c
t/op/quotemeta.t
utf8.c