Skip to content

Support field width for floats #17

@Ockenfuss

Description

@Ockenfuss

Hello everyone,

first of all, thank you for this awesome tool!
However, I am missing the possibility to specify the field width for floating point format specifiers, like e.g. %5f.
C's scanf functions support such a feature. From the scanf manpage on my system: "An optional decimal integer which specifies the maximum field width. Reading of characters stops either when this maximum is reached or when a nonmatching character is found, whichever happens first."

Unfortunately, I am not experienced enough with regular expressions to include this feature into scanf_translate myself. I opened a question on Stackoverflow concerning this feature. Any help is appreciated!

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions