On Fri, Sep 20, 2002 at 08:08:23AM +0300, Jarkko Hietaniemi wrote:
Bug uncovered, though.
Could you please perlbug this so that is doesn't get lost?
Sure, already done.
http://www.autrijus.org/Unicode-EastAsianWidth-1.00.tar.gz just
hit CPAN; SYNOPSIS follows:
use Unicode::EastAsianWidth;
$_ = chr(0x2588); # FULL BLOCK, an ambiguous-width character
/\p{InEastAsianAmbiguous}/; # true
/\p{InFullwidth}/; # false
{
local $Unicode::EastAsianWidth::EastAsian = 1;
/\p{InFullwidth}/; # true; only works on perl 5.8+
}
Thanks,
/Autrijus/
pgpOVKQVQZSPq.pgp
Description: PGP signature