Skip to content

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

@adammw

Description

@adammw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions