From 4364919aeabf66edaa6fb40631f8fed89f4bcfe2 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 28 Sep 2011 15:55:19 -0600 Subject: [PATCH] perlunicode, perluniprops: \p{Title} is Perl extension This property is not official Unicode, and so should be documented by us. --- lib/unicore/mktables | 4 ++-- pod/perlunicode.pod | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/unicore/mktables b/lib/unicore/mktables index f4958ba..910ef2f 100644 --- a/lib/unicore/mktables +++ b/lib/unicore/mktables @@ -11546,8 +11546,8 @@ sub compile_perl() { # Earliest releases didn't have title case. Initialize it to empty if not # otherwise present - my $Title = $perl->add_match_table('Title'); - $Title->add_alias('Titlecase'); + my $Title = $perl->add_match_table('Title', Full_Name => 'Titlecase', + Description => '(= \p{Gc=Lt})'); my $lt = $gc->table('Lt'); # Earlier versions of mktables had this related to $lt since they have diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index 5e1ff36..f00b110 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -768,6 +768,13 @@ This is the same as C<\s>, including beyond ASCII. Mnemonic: Space, as modified by Perl. (It doesn't include the vertical tab which both the Posix standard and Unicode consider white space.) +=item B> and B> + +Under case-sensitive matching, these both match the same code points as +C<\p{General Category=Titlecase_Letter}> (C<\p{gc=lt}>). The difference +is that under C caseless matching, these match the same as +C<\p{Cased}>, whereas C<\p{gc=lt}> matches C<\p{Cased_Letter>). + =item B> This is the same as C<\v>: A character that changes the spacing vertically. -- 2.7.4