harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-713) java.util.regex.Matcher.find() ignores the specified region when the pattern is "c"
Date Tue, 12 Jun 2007 13:22:26 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Deakin closed HARMONY-713.
---------------------------------


Old issue, patch applied and verified. Closing...

> java.util.regex.Matcher.find() ignores the specified region when the pattern is "c"
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-713
>                 URL: https://issues.apache.org/jira/browse/HARMONY-713
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>            Assignee: George Harley
>         Attachments: regex.src.diff, region.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message