harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Harley (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-713) java.util.regex.Matcher.find() ignores the specified region when the pattern is "c"
Date Tue, 04 Jul 2006 09:46:31 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-713?page=all ]

George Harley reassigned HARMONY-713:
-------------------------------------

    Assign To: George Harley

> java.util.regex.Matcher.find() ignores the specified region when the pattern is "c"
> -----------------------------------------------------------------------------------
>
>          Key: HARMONY-713
>          URL: http://issues.apache.org/jira/browse/HARMONY-713
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Richard Liang
>     Assignee: George Harley
>  Attachments: regex.src.diff
>
> Hello Nik,
> java.util.regex.Matcher.find() ignores the specified region when the pattern is "c".
> The following test pass on RI, but fail on Harmony. I will attach the test for regression
soon :-)
>     public void testFindRegionChanged2() {
>         Pattern pattern = Pattern.compile("c");
>         String inputStr = "aabb.c";
>         Matcher matcher = pattern.matcher(inputStr);
>         matcher.region(0, 3);
>         
>         assertFalse(matcher.find());
>     }
> 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