← Back to index
|
Original Bugzilla link
Bug 11347 – std.string.split is not unicode-correct
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-24T14:24:00Z
Last change time
2013-10-24T14:25:54Z
Keywords
pull
Assigned to
nobody
Creator
andrej.mitrovich
Comments
Comment #0
by andrej.mitrovich — 2013-10-24T14:24:51Z
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
Comment #1
by andrej.mitrovich — 2013-10-24T14:25:48Z
https://github.com/D-Programming-Language/phobos/commit/6c794801c44f9261c44ef5d3049793b192c5b28b