Skip to content

CRLF vs LF issue for input str #59

Closed
@AV3RG

Description

@AV3RG

If your IDE defaults to using CRLF instead of LF, which generally happens in Windows, the input str has an extra character at the end on all lines except the last one.

image

Like in the image, line 1 shows a length of 22 while it's 21, and line 2 shows the correct length as it is the last. It would be nice to see this template handle that issue as it causes regex expressions using \n to not work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions