[SR-11936] String.split(separatedBy:) splits incorrectly for "\r" or "\n" if string contains "\r\n" #54355
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Additional Detail from JIRA
md5: f4e7dd9b7b0d01ebe35857f4997f78ac
Issue Description:
To demonstrate the issue, this code:
prints:
but should print:
Similarly,
prints:
but should print:
Easily reproduced in a playground.
The text was updated successfully, but these errors were encountered: