[Issue 9045] Feature request for std.asscii => function isNewline

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Mar 22 06:08:31 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=9045

--- Comment #12 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
(In reply to Nick Sabalausky from comment #10)
> While an 'isNewline(dchar)' func wouldn't work for reasons already
> discussed, what *would* work and be very helpful IMO, is something similar
> to the 'std.conv.parse(...)' functions. Ie, just like this, but properly
> templated, range-ified and UTF8/16-ified:

skipNewLine taking string by ref that would return a bool indicating if there
was a new line would indeed be useful.

--


More information about the Digitalmars-d-bugs mailing list