Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip white space with formattedRead #10566

Open
dlangBugzillaToGithub opened this issue Nov 10, 2024 · 0 comments
Open

Skip white space with formattedRead #10566

dlangBugzillaToGithub opened this issue Nov 10, 2024 · 0 comments

Comments

@dlangBugzillaToGithub
Copy link

alphaglosined reported this on 2024-11-10T15:11:02Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=24853

Description

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.
@LightBender LightBender removed the P1 label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants