Dear All,
I find this bug when preparing for implementing j.u.Scanner. Could
anyone have a look at this issue? Thanks a lot.
Richard Liang (JIRA) wrote:
java.util.regex.Pattern fails to compile some patterns
------------------------------------------------------
Key: HARMONY-606
URL: http://issues.apache.org/jira/browse/HARMONY-606
Project: Harmony
Type: Bug
Components: Classlib
Reporter: Richard Liang
Hello,
The following patterns are not supported by Harmony java.util.regex.Pattern:
\p{javaLowerCase}
\p{javaUpperCase}
\p{javaWhitespace}
\p{javaMirrored}
The test case fails on Harmony, but pass on RI.
public void test_compile() {
Pattern pattern = Pattern.compile("\\p{javaLowerCase}"); //$NON-NLS-1$
assertNotNull(pattern);
}
Best regards,
Richard
--
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]