www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11347] New: std.string.split is not unicode-correct

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11347

           Summary: std.string.split is not unicode-correct
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: pull
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-10-24
14:24:51 PDT ---
Test-case:

-----
import std.string;

void main()
{
    // Contains U+2003 (EM SPACE)
    // fails, returns "foo bar"
    assert("foo bar".split == ["foo", "bar"]);
}
-----

https://github.com/D-Programming-Language/phobos/pull/1477

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 24 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11347



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-10-24
14:25:48 PDT ---
https://github.com/D-Programming-Language/phobos/commit/6c794801c44f9261c44ef5d3049793b192c5b28b

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 24 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=11347


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 24 2013