http://d.puremagic.com/issues/show_bug.cgi?id=9045
Summary: Feature rest for std.asscii => function isNewline
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from bioinfornatics <[email protected]> 2012-11-18
16:48:50 PST ---
hi,
std.ascii provide some function to check ascii char, to get newline char from
your OS but not a function to said if a char is a newline as does this
function:
bool isNewline(dchar c) @safe pure nothrow {
return ( c == 0x0A || c == 0x0D )? true : false;
}
is Possible to add it ?
regards
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------