[Issue 24853] New: Skip white space with formattedRead

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 10 15:11:02 UTC 2024


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 at puremagic.com
          Reporter: alphaglosined at 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.

--


More information about the Digitalmars-d-bugs mailing list