Skip to content

Fix handling of chomp with paragraph separator#29

Merged
jeremyevans merged 1 commit into
ruby:masterfrom
jeremyevans:each-paragraph-chomp-18768
May 30, 2022
Merged

Fix handling of chomp with paragraph separator#29
jeremyevans merged 1 commit into
ruby:masterfrom
jeremyevans:each-paragraph-chomp-18768

Conversation

@jeremyevans

Copy link
Copy Markdown
Contributor

Try to mirror IO behavior, where chomp takes out the entire paragraph
separators between entries, but does not chomp a single line separator
at the end of the string.

Partially Fixes [Bug #18768]

@jeremyevans jeremyevans requested a review from nobu May 26, 2022 22:16
Comment thread ext/stringio/stringio.c Outdated
Try to mirror IO behavior, where chomp takes out the entire paragraph
separators between entries, but does not chomp a single line separator
at the end of the string.

Partially Fixes [Bug #18768]
@jeremyevans jeremyevans force-pushed the each-paragraph-chomp-18768 branch from 2d63fea to bbe91d4 Compare May 30, 2022 04:06
@jeremyevans jeremyevans merged commit a83ddbb into ruby:master May 30, 2022
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