You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Richard Liang <ri...@gmail.com> on 2006/06/20 12:23:05 UTC
Re: [jira] Created: (HARMONY-606) java.util.regex.Pattern fails to
compile some patterns
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: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [jira] Created: (HARMONY-606) java.util.regex.Pattern fails to compile some patterns
Posted by Nikolay Kuznetsov <ni...@gmail.com>.
Hello Richard,
Thank you for this find. For some reason I've missed these character classes.
Will update JIRA issue in a moment.
--
Regards,
Nikolay Kuznetsov,
Intel Middleware Products Division
---------------------------------------------------------------------
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