Closed
Description
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.
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
Labels
No labels