How the hell to split multiple delims?

AlphaPurned Alpha at Beta.com
Sat Feb 15 11:32:42 UTC 2020


I've tried 10 different ways with split and splitter, I've used 
all the stuff that people have said online but nothing works. I 
always get a template mismatch error.

Why is something so easy to do so hard in D?

auto toks = std.regex.split(l, Regex("s"));
auto toks = std.regex.splitter(l, Regex("s"));
auto toks = std.regex.splitter(l, ctRegex!r"\.");


More information about the Digitalmars-d-learn mailing list