Skip to content

Fix handling of split when the input is fully matched and the limit is 0#202

Open
cushon wants to merge 3 commits into
google:masterfrom
cushon:i197
Open

Fix handling of split when the input is fully matched and the limit is 0#202
cushon wants to merge 3 commits into
google:masterfrom
cushon:i197

Conversation

@cushon
Copy link
Copy Markdown
Contributor

@cushon cushon commented May 13, 2026

The specification for limit is

If limit == 0, empty strings that would occur at the end of the array are omitted

#197

cushon and others added 3 commits May 13, 2026 20:50
… is 0

The specification for limit is

> If `limit == 0`, empty strings that would occur at the end of the array are omitted

google#197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants