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,
Richard.
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]