[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [patch #4000] Fix for Bug #11962, java.util.regex.Matcher.gr
From: |
Joe Gallo |
Subject: |
[commit-cp] [patch #4000] Fix for Bug #11962, java.util.regex.Matcher.group(int) should return null instead of "" |
Date: |
Wed, 11 May 2005 14:28:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050427 Epiphany/1.6.3 |
URL:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4000>
Summary: Fix for Bug #11962,
java.util.regex.Matcher.group(int) should return null instead of ""
Project: classpath
Submitted by: tellerpenn
Submitted on: Wed 05/11/05 at 14:28
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
Link to bug report:
https://savannah.gnu.org/bugs/?func=detailitem&item_id=11962
java.util.regex.Matcher.group(int group) should return a null string, not an
empty string, when invoked with a parameter that does not correspond to a
regex result group.
The patch applies against gnu.regexp.REMatch.java, however, as that is where
the problem lies.
I have also posted this patch in the bug report, because I didn't know there
was a separate area for posting patches directly (sorry).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 05/11/05 at 14:28 Name: classpath_regexp_group_null.patch Size:
461B By: tellerpenn
changes gnu.regexp.REMatch.java to return null instead of ""
<http://savannah.gnu.org/patch/download.php?item_id=4000&item_file_id=4588>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4000>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] [patch #4000] Fix for Bug #11962, java.util.regex.Matcher.group(int) should return null instead of "",
Joe Gallo <=