[Issue 10772] std.regex.splitter generates spurious empty elements with empty delimiter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 18 14:28:30 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=10772



--- Comment #2 from hsteoh at quickfur.ath.cx 2013-12-18 14:28:29 PST ---
$ perl -e'print join(":", split(//, "test")), "\n";'
t:e:s:t
$


So yes, I expect std.regex.splitter to return ["t", "e", "s", "t"] when the
delimiter is empty.

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


More information about the Digitalmars-d-bugs mailing list