summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2009-12-29 16:38:38 -0700
committerAbigail <abigail@abigail.be>2009-12-30 12:29:35 +0100
commitae5b72c8252f1f9074e08de2e76de013c8021084 (patch)
tree10435e792c301c5038fdb73fc27f4972a706cf66 /pod
parentc088ef569318bbdc082566d3567bbf231adc5267 (diff)
downloadperl-ae5b72c8252f1f9074e08de2e76de013c8021084.tar.gz
Correct \p{print} to not match LINE SEPARATOR nor PARAGRAPH SEPARATOR
The Unicode Standard defines (as a recommendation) that Print be based on graphical characters and blank characters (minus controls). Perl's has been based on space rather than blank. The only practical effect this has is that Perl erroneously matches the LINE SEPARATOR and PARAGRAPH SEPARATOR, which clearly are not printable characters. Signed-off-by: Abigail <abigail@abigail.be>
Diffstat (limited to 'pod')
-rw-r--r--pod/perlunicode.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index 1ebed0df3f..50a2843441 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -721,7 +721,7 @@ matches as well.
=item B<C<\p{Print}>>
-This matches any character that is graphical or is space, but not a control.
+This matches any character that is graphical or blank, except controls.
=item B<C<\p{SpacePerl}>>