You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sian January (JIRA)" <ji...@apache.org> on 2006/11/17 12:20:37 UTC
[jira] Created: (HARMONY-2225) [classlib] [regex] False positives
and other errors in Pattern.matches(..)
[classlib] [regex] False positives and other errors in Pattern.matches(..)
--------------------------------------------------------------------------
Key: HARMONY-2225
URL: http://issues.apache.org/jira/browse/HARMONY-2225
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Sian January
Pattern.matches("x?y", "xxy") should return false, but Harmony returns true.
Also Pattern.matches("x{2,4}?y", "xxxxy") should return true but Harmony returns false.
--
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
[jira] Updated: (HARMONY-2225) [classlib] [regex] False positives
and other errors in Pattern.matches(..)
Posted by "Sian January (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2225?page=all ]
Sian January updated HARMONY-2225:
----------------------------------
Attachment: regexpatch.txt
Attached a patch containing a fix and accompanying tests.
> [classlib] [regex] False positives and other errors in Pattern.matches(..)
> --------------------------------------------------------------------------
>
> Key: HARMONY-2225
> URL: http://issues.apache.org/jira/browse/HARMONY-2225
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Sian January
> Attachments: regexpatch.txt
>
>
> Pattern.matches("x?y", "xxy") should return false, but Harmony returns true.
> Also Pattern.matches("x{2,4}?y", "xxxxy") should return true but Harmony returns false.
--
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
[jira] Updated: (HARMONY-2225) [classlib] [regex] False positives
and other errors in Pattern.matches(..)
Posted by "Sian January (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2225?page=all ]
Sian January updated HARMONY-2225:
----------------------------------
Patch Info: [Patch Available]
> [classlib] [regex] False positives and other errors in Pattern.matches(..)
> --------------------------------------------------------------------------
>
> Key: HARMONY-2225
> URL: http://issues.apache.org/jira/browse/HARMONY-2225
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Sian January
> Attachments: regexpatch.txt
>
>
> Pattern.matches("x?y", "xxy") should return false, but Harmony returns true.
> Also Pattern.matches("x{2,4}?y", "xxxxy") should return true but Harmony returns false.
--
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