diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-02-17 07:36:01 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-02-17 08:11:13 -0700 |
commit | a278d14b98bf780cdcedb167583e748e7961395c (patch) | |
tree | 82a6e7dc48acaed1dc5782d58c084e0233c5005d | |
parent | b5a55c7b393b19f953ebad5b08181d6af1a77b63 (diff) | |
download | perl-a278d14b98bf780cdcedb167583e748e7961395c.tar.gz |
Unicode::UCD::num() clarify pod text
-rw-r--r-- | lib/Unicode/UCD.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm index ecfa1703ac..4879427bfa 100644 --- a/lib/Unicode/UCD.pm +++ b/lib/Unicode/UCD.pm @@ -1249,7 +1249,7 @@ set. C<num> errs on the side of safety, and there may be valid strings of decimal digits that it doesn't recognize. Note that Unicode defines a number of "digit" characters that aren't "decimal digit" characters. -"Decimal digits" have the property that they have a positional value, that is +"Decimal digits" have the property that they have a positional value, i.e., there is a units position, a 10's position, a 100's, etc, AND they are arranged in Unicode in blocks of 10 contiguous code points. The Chinese digits, for example, are not in such a contiguous block, and so Unicode @@ -1258,8 +1258,8 @@ match them. A single-character string containing one of these digits will have its decimal value returned by C<num>, but any longer string containing only these digits will return C<undef>. -Strings of sub- and superscripts are not recognized as numbers. You can -use either of the compatibility decompositions in Unicode::Normalize to +Strings of multiple sub- and superscripts are not recognized as numbers. You +can use either of the compatibility decompositions in Unicode::Normalize to change these into digits, and then call C<num> on the result. =cut |