[Issue 9045] New: Feature rest for std.asscii => function isNewline

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 18 16:48:51 PST 2012


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: nobody at puremagic.com
        ReportedBy: bioinfornatics at gmail.com


--- Comment #0 from bioinfornatics <bioinfornatics at gmail.com> 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: -------


More information about the Digitalmars-d-bugs mailing list