harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Liang <richard.lian...@gmail.com>
Subject Re: [jira] Created: (HARMONY-696) Harmony regex does not support Character.isXXX character classes
Date Thu, 29 Jun 2006 03:14:38 GMT
Hello Nik,
Just a kind reminder, as you may already know, a set of new isXXXX 
methods have been defined since Java 1.5 which have a int (codepoint) 
parameter. This may make things tricky. ;-)

Best regards,

Nikolay Kuznetsov (JIRA) wrote:
> Harmony regex does not support Character.isXXX character classes
> ----------------------------------------------------------------
>          Key: HARMONY-696
>          URL: http://issues.apache.org/jira/browse/HARMONY-696
>      Project: Harmony
>         Type: Bug
>   Components: Classlib  
>  Environment: All
>     Reporter: Nikolay Kuznetsov
> According to JavaDoc specification java.util.regex.Patter should provide character classes
corresponding to all Character.isXXX methods except deprecated:
> "Categories that behave like the java.lang.Character boolean ismethodname methods (except
for the deprecated ones) are available through the same \p{prop} syntax where the specified
property has the name javamethodname."
> Harmony implementation supports only for, which named directly in the spec:
> java.lang.Character classes (simple java character type) 
> \p{javaLowerCase} Equivalent to java.lang.Character.isLowerCase() 
> \p{javaUpperCase} Equivalent to java.lang.Character.isUpperCase() 
> \p{javaWhitespace} Equivalent to java.lang.Character.isWhitespace() 
> \p{javaMirrored} Equivalent to java.lang.Character.isMirrored() 
> The others should be also implemented.

Richard Liang
China Software Development Lab, IBM 

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message