On Tue, Mar 4, 2008 at 8:29 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>  Nope, due to addition of Unicode support in recent versions of Perl it
>  will also match "\x{1814}" the Mongolian digit 4.  The \d character
>  class is not the same as [0-9], it matches all number characters,
>  including those in other scripts.  If you want to only
>  0,1,2,3,4,5,6,7,8,9 you need to say [0-9].
>
>  perl -le 'print "\x{1814}" =~ /\A\d+\z/ ? "t" : "f"'
>  --
>  Chas. Owens

More interesting, at least for me, would be
  perl -le 'print "\x{1814}"'
What do I need to make that print out "properly"?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to