diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-01-03 21:15:55 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-01-06 21:22:42 -0700 |
commit | 209c968599695b3650526a59d3b3325db5dee5ba (patch) | |
tree | c76c3d8d134145bb128a78a3d22b284801db9437 /pod | |
parent | 0c9388d793b524de16a9a3692f083ddeed2b165b (diff) | |
download | perl-209c968599695b3650526a59d3b3325db5dee5ba.tar.gz |
perlunicode: Correct false statement
This text is just plain wrong. It mixes up which is the block property
and which is the script
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlunicode.pod | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index 44b5f7139e..7558b3260b 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -1015,16 +1015,16 @@ Level 1 - Basic Unicode Support [a] You can mimic class subtraction using lookahead. For example, what UTS#18 might write as - [{Greek}-[{UNASSIGNED}]] + [{Block=Greek}-[{UNASSIGNED}]] in Perl can be written as: - (?!\p{Unassigned})\p{InGreekAndCoptic} - (?=\p{Assigned})\p{InGreekAndCoptic} + (?!\p{Unassigned})\p{Block=Greek} + (?=\p{Assigned})\p{Block=Greek} But in this particular example, you probably really want - \p{GreekAndCoptic} + \p{Greek} which will match assigned characters known to be part of the Greek script. |