Skip to content

Conversation

@byroot
Copy link
Member

@byroot byroot commented Feb 20, 2025

Fix: #140

0x<EOF>, 0xZZZ should be parsed as 0 instead of not matching at all.

Fix: ruby#140

`0x<EOF>`, `0xZZZ` should be parsed as `0` instead of not matching at
all.
@kou kou merged commit c4e4795 into ruby:master Feb 20, 2025
40 checks passed
matzbot pushed a commit to ruby/ruby that referenced this pull request Feb 21, 2025
followed by hexadecimal
(ruby/strscan#141)

Fix: ruby/strscan#140

`0x<EOF>`, `0xZZZ` should be parsed as `0` instead of not matching at
all.

ruby/strscan@c4e4795ed2
mrzasa pushed a commit to mrzasa/ruby that referenced this pull request Feb 21, 2025
followed by hexadecimal
(ruby/strscan#141)

Fix: ruby/strscan#140

`0x<EOF>`, `0xZZZ` should be parsed as `0` instead of not matching at
all.

ruby/strscan@c4e4795ed2
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.

Problematic behaviour of #scan_integer(base: 16) when parses "0x"

2 participants