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

YAML string in exponential format cannot be loaded by YAML 1.2 parser #627

Open
adammw opened this issue May 10, 2023 · 0 comments · May be fixed by #628
Open

YAML string in exponential format cannot be loaded by YAML 1.2 parser #627

adammw opened this issue May 10, 2023 · 0 comments · May be fixed by #628

Comments

@adammw
Copy link

adammw commented May 10, 2023

Example: a string in the form of 344455e6 will not be quoted by the Psych YAML parser as it is not matching the regex used by the YAML1.1 spec for floats, however a YAML 1.2 compliant parser will interpret the value as a float since the decimal point and sign is considered optional in YAML 1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant