harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-606) java.util.regex.Pattern fails to compile some patterns
Date Tue, 20 Jun 2006 11:55:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-606?page=all ]

Nikolay Kuznetsov updated HARMONY-606:
--------------------------------------

    Attachment: char_classes.patch

For some reason these character classes was not listed in char class table.
Attached file contains fix for this issue.

> 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
>  Attachments: char_classes.patch
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message