Patches: Browse | Submit New | Admin

[#23000] String#split patch for bug 22826

Date:
2008-11-26 02:14
Priority:
3
Submitted By:
Calvin Bottoms (calvinb)
Assigned To:
James Schementi (jschementi)
Category:
None
State:
Open
Summary:
String#split patch for bug 22826

Detailed description
''.split(//, -1) returns [""] but should return [].
Added string test (Strings10) to fail on account of bug.
Added code to MutableStringOps to return empty array when source string is empty.
Generated the patch against revision 175 because 176 does not compile for me.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
bug_22826_string_split.patch Download

Changes:

Field Old Value Date By
assigned_tonone2008-12-20 02:11jschementi
File Added4188: bug_22826_string_split.patch2008-11-26 02:14calvinb