strscan 3.1.3 - 2025-04-13
Fixes
-
StringScanner#scan_integer: Fixed a bug that matched data isn't
updated. -
StringScanner#scan_until: Fixed a bug thatStringpattern
usage set incorrect match data. -
StringScanner#scan_integer(base: 16): Fixed a bug that0x<EOS>
and0x<NON_HEX_DECIMAL>isn't matched. -
Fixed a bug that
Stringpattern doesn't clear named captures. -
StrinScanner#[]: Fixed a bug thatStringpattern and unknown
capture group name returnsnilinstead of raisingIndexError
likeRegexppattern. -
StrinScanner#posandStrinScanner#pos=: Fixed a bug that
position is treated asintnotlong.- GH-147
- Patch by Jean Boussier
Thanks
- Andrii Konchyn
- Jean Boussier
- NAITOH Jun