We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Unicode support for Collection>>split: is broken, it will cause IntraCharacterInde error.
Collection>>split:
IntraCharacterInde
To Reproduce
Try following code to reproduce:
#($一 $二 $三) split: '1一2二3三'
Additional context
Following is full backtrace:
Utf8String(Object)>>error: Utf8String(UtfEncodedString)>>errorIntraCharacterIndex: Utf8String>>decodeAt: Utf8String(UtfEncodedString)>>uncheckedFrom:to:keysAndValuesDo: Utf8String(SequenceableCollection)>>from:to:keysAndValuesDo: Utf8String(SequenceableCollection)>>from:keysAndValuesDo: Array(Collection)>>_indexOfAnyInString:startingAt: Utf8String(String)>>indexOfAnyOf:startingAt: Array(Collection)>>split: ...
The text was updated successfully, but these errors were encountered:
Fix #1015: Collection>>split: not working for multi-byte characters
705b20c
- Also fix inconsistent handling of trailing terminator, and allow empty separators. - Add test coverage.
bddb654
Fix #1015
5f33958
6d3d0fa
1cbd7a3
No branches or pull requests
Describe the bug
Unicode support for
Collection>>split:
is broken, it will causeIntraCharacterInde
error.To Reproduce
Try following code to reproduce:
Additional context
Following is full backtrace:
The text was updated successfully, but these errors were encountered: