Skip to content

Fixes #7769. regexp with / before mbc should work.#7770

Merged
enebo merged 2 commits intojruby:masterfrom
enebo:regexp_mbc_escape
Apr 25, 2023
Merged

Fixes #7769. regexp with / before mbc should work.#7770
enebo merged 2 commits intojruby:masterfrom
enebo:regexp_mbc_escape

Conversation

@enebo
Copy link
Member

@enebo enebo commented Apr 24, 2023

Test case is: Regexp.new(%q{\§}) (spec will be coming as separate commit). Problem was we were missing mbc logic in backslash processing. It would advance one too many times and then only see half of the mbc.

I should have put this against 9.3.x as well but I will cherry-pick it back.

Test case is: ```Regexp.new(%q{\§})``` (spec will be coming as
separate commit).  Problem was we were missing mbc logic in
backslash processing.  It would advance one too many times and
then only see half of the mbc.
@enebo enebo added this to the JRuby 9.4.3.0 milestone Apr 24, 2023
@enebo enebo merged commit 55de87c into jruby:master Apr 25, 2023
@enebo enebo deleted the regexp_mbc_escape branch March 4, 2025 18:34
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.

1 participant