use charnames ();
use Unicode::Normalize qw(getCombinClass NFKD);
-our $VERSION = '0.34';
+our $VERSION = '0.35';
use Storable qw(dclone);
=pod
-=head2 num
+=head2 B<num()>
C<num> returns the numeric value of the input Unicode string; or C<undef> if it
doesn't think the entire string has a completely valid, safe numeric value.
A new function, Unicode::UCD::num(), has been added. This function
returns the numeric value of the string passed it or C<undef> if the string
in its entirety has no "safe" numeric value. (For more detail, and for the
-definition of "safe", see L<Unicode::UCD/num>.)
+definition of "safe", see L<Unicode::UCD/num()>.)
This upgrade also includes several bug fixes:
C<BENGALI DIGIT FOUR> (U+09EA) looks very much like an
C<ASCII DIGIT EIGHT> (U+0038). And, C<\d+>, may match strings of digits
that are a mixture from different writing systems, creating a security
-issue. L<Unicode::UCD::num()|Unicode::UCD/num> can be used to sort
+issue. L<Unicode::UCD/num()> can be used to sort
this out. Or the C</a> modifier can be used to force C<\d> to match
just the ASCII 0 through 9.
is expecting only the ASCII digits might be misled, or if the match is
C<\d+>, the matched string might contain a mixture of digits from
different writing systems that look like they signify a number different
-than they actually do. L<Unicode::UCDE<sol>num()|Unicode::UCD/num> can
+than they actually do. L<Unicode::UCD/num()> can
be used to safely
calculate the value, returning C<undef> if the input string contains
such a mixture.
Perl does not support string-to-number conversion for digits other
than ASCII 0 to 9 (and ASCII a to f for hexadecimal).
To get safe conversions from any Unicode string, use
-L<Unicode::UCDE<sol>num()|Unicode::UCD/num>.
+L<Unicode::UCD/num()>.
=back