November 10 [Issue 24853] New: Skip white space with formattedRead | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24853 Issue ID: 24853 Summary: Skip white space with formattedRead Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody@puremagic.com Reporter: alphaglosined@gmail.com Proposal: add a skip whitespace format specifier to formattedRead. The purpose of this is to enable stuff like: https://issues.dlang.org/show_bug.cgi?id=4656 Of note is that white space is a Unicode category, it covers a lot more characters than just space or tab. This came up as a comparison to Nim, which does this automatically. However not skipping white space is intentional on D's side. So to have a format specifier for it would give us both capabilities when needed. -- |
Copyright © 1999-2021 by the D Language Foundation