In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/ee88f7b6f5d077916526e357fe86a2ce6d826ac1?hp=b19eb4963ea542d2e73baf69f7831f43da671a37>

- Log -----------------------------------------------------------------
commit ee88f7b6f5d077916526e357fe86a2ce6d826ac1
Author: Karl Williamson <[email protected]>
Date:   Fri Apr 15 11:19:40 2011 -0600

    perlunicode: More 5.14 edits

M       pod/perlunicode.pod

commit 5f37c4c6e33395fdc40a8fea472b2584adf92164
Author: Karl Williamson <[email protected]>
Date:   Fri Apr 15 11:11:51 2011 -0600

    perlunitut: clarification

M       pod/perlunitut.pod

commit 78bb419c50c8f3f530e46e442d1e9a4de55e7669
Author: Karl Williamson <[email protected]>
Date:   Fri Apr 15 09:53:21 2011 -0600

    perluniprops: Linked to wrong pod; slight edits

M       lib/unicore/mktables
-----------------------------------------------------------------------

Summary of changes:
 lib/unicore/mktables |   11 ++++++-----
 pod/perlunicode.pod  |   20 +++++++++-----------
 pod/perlunitut.pod   |    4 ++--
 3 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/lib/unicore/mktables b/lib/unicore/mktables
index 2d1deb3..59267d2 100644
--- a/lib/unicore/mktables
+++ b/lib/unicore/mktables
@@ -13032,7 +13032,7 @@ Perl extension.  There is some detail about Blocks, 
Scripts, General_Category,
 and Bidi_Class in L<perlunicode>, but to find out about the intricacies of the
 Unicode properties, refer to the Unicode standard.  A good starting place is
 L<$unicode_reference_url>.  More information on the Perl extensions is in
-L<perlrecharclass>.
+L<perlunicode/Other Properties>.
 
 Note that you can define your own properties; see
 L<perlunicode/"User-Defined Character Properties">.
@@ -13097,8 +13097,8 @@ adjacent to (but within) the braces and the colon or 
equal sign.
 
 =back
 
-Some properties are considered obsolete, but still available.  There are
-several varieties of obsolescence:
+Some properties are considered obsolete by Unicode, but still available.
+There are several varieties of obsolescence:
 
 =over 4
 
@@ -13118,8 +13118,8 @@ table.
 =item Deprecated
 
 An obsolete property may be deprecated, perhaps because its original intent
-has been replaced by another property or because its specification was somehow
-defective.  This means that its use is strongly
+has been replaced by another property, or because its specification was
+somehow defective.  This means that its use is strongly
 discouraged, so much so that a warning will be issued if used, unless the
 regular expression is in the scope of a C<S<no warnings 'deprecated'>>
 statement.  $A_bold_deprecated flags each such entry in the table, and
@@ -13228,6 +13228,7 @@ $zero_matches
 
 A few properties are accessible in Perl via various function calls only.
 These are:
+
  Lowercase_Mapping          lc() and lcfirst()
  Titlecase_Mapping          ucfirst()
  Uppercase_Mapping          uc()
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index f77b7f1..7a0b593 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -276,14 +276,14 @@ And finally, C<scalar reverse()> reverses by character 
rather than by byte.
 
 =head2 Unicode Character Properties
 
-Most Unicode character properties are accessible by using regular expressions.
-They are used (like bracketed character classes) by using the C<\p{}> "matches
-property" construct and the C<\P{}> negation, "doesn't match property".
-
-Note that the only time that Perl considers a sequence of individual code
+(The only time that Perl considers a sequence of individual code
 points as a single logical character is in the C<\X> construct, already
 mentioned above.   Therefore "character" in this discussion means a single
-Unicode code point.
+Unicode code point.)
+
+Very nearly all Unicode character properties are accessible through
+regular expressions by using the C<\p{}> "matches property" construct
+and the C<\P{}> "doesn't match property" for its negation.
 
 For instance, C<\p{Uppercase}> matches any single character with the Unicode
 "Uppercase" property, while C<\p{L}> matches any character with a
@@ -299,7 +299,7 @@ This formality is needed when properties are not binary; 
that is, if they can
 take on more values than just True and False.  For example, the Bidi_Class (see
 L</"Bidirectional Character Types"> below), can take on several different
 values, such as Left, Right, Whitespace, and others.  To match these, one needs
-to specify the property name (Bidi_Class) and the value being matched against
+to specify the property name (Bidi_Class), AND the value being matched against
 (Left, Right, etc.).  This is done, as in the examples above, by having the
 two components separated by an equal sign (or interchangeably, a colon), like
 C<\p{Bidi_Class: Left}>.
@@ -361,8 +361,6 @@ of which under C</i> matching match C<PosixAlpha>.
 (The difference between these sets is that some things, such as Roman
 numerals, come in both upper and lower case so they are C<Cased>, but aren't 
considered
 letters, so they aren't C<Cased_Letter>s.)
-L<perluniprops> includes a notation for all forms that have C</i>
-differences.
 
 =head3 B<General_Category>
 
@@ -1319,7 +1317,7 @@ Legacy, fixed-width encodings defined by the ISO 10646 
standard.  UCS-2 is a 16-
 encoding.  Unlike UTF-16, UCS-2 is not extensible beyond C<U+FFFF>,
 because it does not use surrogates.  UCS-4 is a 32-bit encoding,
 functionally identical to UTF-32 (the difference being that
-UCS-4 does forbids neither surrogates nor code points larger than 0x10_FFFF).
+UCS-4 forbids neither surrogates nor code points larger than 0x10_FFFF).
 
 =item *
 
@@ -1358,7 +1356,7 @@ lax rules are being used, and will warn (using the 
warning category
 "non_unicode", which is a sub-category of "utf8") if an attempt is made to
 operate on or output them.  For example, C<uc(0x11_0000)> will generate
 this warning, returning the input parameter as its result, as the upper
-case of all non-Unicode code points is the code point itself.
+case of every non-Unicode code point is the code point itself.
 
 =head2 Security Implications of Unicode
 
diff --git a/pod/perlunitut.pod b/pod/perlunitut.pod
index fc352d5..9e5af04 100644
--- a/pod/perlunitut.pod
+++ b/pod/perlunitut.pod
@@ -42,8 +42,8 @@ distinction between code point and character is blurred, so 
the terms often
 are used interchangeably.)
 
 There are many, many code points, but computers work with bytes, and a byte has
-room for only 256 values.  Unicode has many more characters, so you need a
-method to make these accessible.
+room for only 256 values.  Unicode has many more characters than that,
+so you need a method to make these accessible.
 
 Unicode is encoded using several competing encodings, of which UTF-8 is the
 most used. In a Unicode encoding, multiple subsequent bytes can be used to

--
Perl5 Master Repository

Reply via email to