![]() |
perl-unicode
|
Re: Problem using Unicode::UCD casefold and casespec.2003-05-11 01:30:05| '0130', '0149', '0390', '0587' match /^\d+$/, and others don't. | Try hex($cp) or "U+$cp" or "0x$cp" instead $cp. OK, this works, thanks. | http://www.perldoc.com/perl5.8.0/lib/Unicode/UCD.html#Code-Point-Arguments | | I don't think this behavior of _getcode() would be consistent | enough, though. I guess the doc examples for casefold and casespec were added later. I looked at those examples (like casefold("09dc")) instead of reading the whole web page. Thanks again. Terry
|
|