| Thread overview | |||||
|---|---|---|---|---|---|
|
September 11, 2014 [Issue 12865] splitLines returns empty array on empty string | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12865 Robert Schadek <rburners@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rburners@gmail.com --- Comment #1 from Robert Schadek <rburners@gmail.com> --- why? empty given you empty makes sense to me? -- | ||||
November 21, 2015 [Issue 12865] splitLines returns empty array on empty string | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12865 bb.temp@gmx.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bb.temp@gmx.com Resolution|--- |INVALID --- Comment #2 from bb.temp@gmx.com --- No your wrong Temtaime,because [``] as result would mean that the input argument contained one empty string: _______________ import std.string; void main() { assert( splitLines("\n") == [``]); // ok } | ||||
March 21, 2020 [Issue 12865] splitLines returns empty array on empty string | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12865 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply