Skip to content
New issue

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

Fix String#index to clear MatchData when a regexp is passed #10751

Merged

Conversation

casperisfine
Copy link
Contributor

[Bug #20421]

The bug was fixed in Ruby 3.3 via 9dcdffb

@casperisfine casperisfine force-pushed the ruby-3.2-string-index-match-data-clear branch from 3cd85cf to 1f946b4 Compare May 13, 2024 00:30
[Bug #20421]

The bug was fixed in Ruby 3.3 via 9dcdffb
@casperisfine casperisfine force-pushed the ruby-3.2-string-index-match-data-clear branch from 1f946b4 to ea995fe Compare May 13, 2024 00:32
@eregon eregon merged commit 449899b into ruby:ruby_3_2 May 14, 2024
79 checks passed
@eregon
Copy link
Member

eregon commented May 14, 2024

Ah oops I should not have merged this, but have waited for @nagachika, sorry.
@nagachika Is it OK this is merged? It fixes https://bugs.ruby-lang.org/issues/20421

@nagachika
Copy link
Member

I checked the patch afterward. OK I updated the redmine ticket with Backport field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants