Get "discarded" data from std.regex.splitter (or something else?)
Steven Schveighoffer
schveiguy at yahoo.com
Thu Jan 16 12:52:32 PST 2014
writeln(splitter("abc123def456", regex("[0-9]+", "g")));
outputs:
["abc", "def", ""]
But what if I want the "123" and "456" tokens too? Is there a way to do
that?
-Steve
More information about the Digitalmars-d-learn
mailing list