[ruby/strscan] jruby: Pass end index to byteListToInum
commit5a0306f9c1cd3c60d8b4735565a8cd794eb20ca6
authorCharles Oliver Nutter <[email protected]>
Sat, 3 May 2025 00:26:53 +0000 (2 19:26 -0500)
committerHiroshi SHIBATA <[email protected]>
Thu, 8 May 2025 09:03:04 +0000 (8 18:03 +0900)
tree1b1a2f1ceab097726bad5fa35cbe45aad3784a28
parent61b6f226e8b5067bf2bc38ea36a4540e45371702
[ruby/strscan] jruby: Pass end index to byteListToInum
(https://github.com/ruby/strscan/pull/150)

These parse methods take begin and end indices, not begin and length. A
test is included.

Fixes https://github.com/jruby/jruby/issues/8823

https://github.com/ruby/strscan/commit/9690e39e73
test/strscan/test_stringscanner.rb