develooper Front page | perl.perl5.porters | Postings from October 2009

Re: Rule 1 has been invoked [Re: What should \s \w \d match in 5.12?]

Thread Previous | Thread Next
From:
John
Date:
October 29, 2009 13:20
Subject:
Re: Rule 1 has been invoked [Re: What should \s \w \d match in 5.12?]
Message ID:
4AE9F8DE.5080300@vodafoneemail.co.uk
Abigail wrote:
> Roman numberals are classified as "Number Letter" in the Unicode database,
> and hence don't match /\d+/, which matches *digits*.
>
>
>
> Abigail
>
>
>   

But Character.getNumericValue('Ⅳ') == 4 in Java script so there is a 
numeric mapping for the roman numarals.

See http://www.fileformat.info/info/unicode/char/2163/index.htm

John

______________________________________________        
This email has been scanned by Netintelligence        
http://www.netintelligence.com/email


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About