Commit bf6c106
[ruby/strscan]
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@c4e4795ed2scan_integer(base: 16) ignore x suffix if not1 parent 0f8a6e1 commit bf6c106
2 files changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1379 | 1379 | | |
1380 | 1380 | | |
1381 | 1381 | | |
1382 | | - | |
| 1382 | + | |
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
1058 | 1063 | | |
1059 | 1064 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1063 | 1068 | | |
1064 | 1069 | | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1068 | 1073 | | |
1069 | 1074 | | |
1070 | 1075 | | |
| |||
0 commit comments