From: Andreas König Date: Sat, 20 Apr 2002 11:20:25 +0000 (+0200) Subject: perlunicode.pod typos X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d5822f2596ebe2ba0ef78092c1edce582de97c51;p=p5sagit%2Fp5-mst-13.2.git perlunicode.pod typos Message-ID: p4raw-id: //depot/perl@16021 --- diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index 4608043..f635013 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -654,15 +654,14 @@ For example, to define a property that covers both the Japanese syllabaries (hiragana and katakana), you can define sub InKana { - return <<'END'; - 3040 309F - 30A0 30FF + return < and C<\P{IsKana}>. +Imagine that the here-doc end marker is at the beginning of the line. +Now you can use C<\p{InKana}> and C<\P{InKana}>. You could also have used the existing block property names: @@ -674,7 +673,7 @@ You could also have used the existing block property names: } Suppose you wanted to match only the allocated characters, -not the by raw block ranges: in other words, you want to remove +not the raw block ranges: in other words, you want to remove the non-characters: sub InKana {