Skip to content

Normalize all EOLs as LF #163

@stasm

Description

@stasm

I propose that the AST normalize the parsing of all supported line endings to LF. We already use LF to represent blank lines in multiline patterns. Normalizing line endings in the parsed results removes surprises and ensures consistency across platforms.

Serializers can implement an option to serialize using CRLF if so desired or required by the platform.

In essence, this is similar to git's core.autocrlf = input option.

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