This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add qr/\b{gcb}/
authorKarl Williamson <khw@cpan.org>
Tue, 17 Feb 2015 22:03:32 +0000 (15:03 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 20 Feb 2015 05:55:01 +0000 (22:55 -0700)
commit64935bc6975bb01af403817752e88d6540c8711d
tree6a1619ac46d1501a5b296a2b69d9af0b98db8c58
parent0e0b935601a8b7a2c56653412a94a36f986bc34f
Add qr/\b{gcb}/

A function implements seeing if the space between any two characters is
a grapheme cluster break.  Afer I wrote this, I realized that an array
lookup might be a better implementation, but the deadline for v5.22 was
too close to change it.  I did see that my gcc optimized it down to
an array lookup.

This makes the implementation of \X go from being complicated to
trivial.
25 files changed:
embed.fnc
embed.h
embedvar.h
intrpvar.h
lib/unicore/mktables
perl.c
perl.h
pod/perlcheat.pod
pod/perldebguts.pod
pod/perldelta.pod
pod/perldiag.pod
pod/perlre.pod
pod/perlrebackslash.pod
pod/perlreref.pod
pod/perlunicode.pod
proto.h
regcomp.c
regcomp.h
regcomp.sym
regexec.c
regnodes.h
sv.c
t/lib/warnings/regexec
t/re/reg_mesg.t
utf8.c